From 538104f156301b685f5e1623e30a46944ab9a9ed Mon Sep 17 00:00:00 2001 From: "John R. D'Orazio" Date: Mon, 25 Mar 2024 02:28:40 +0100 Subject: [PATCH] must remove `Advent1_vigil` also --- includes/FestivityCollection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/FestivityCollection.php b/includes/FestivityCollection.php index bd882192..2cb9866c 100644 --- a/includes/FestivityCollection.php +++ b/includes/FestivityCollection.php @@ -602,8 +602,8 @@ public function purgeDataAdventChristmas( int|null $buffer = null ) { unset( $this->SolemnitiesLordBVM[ $key ] ); unset( $this->SundaysAdventLentEaster[ $key ] ); } - /* Perhaps we shouldn't remove the Vigil Mass for the first Sunday of Advent? // also remove the Vigil Mass for the first Sunday of Advent + // unfortunately we cannot keep it, because it would have the same key as for the other calendar year if( null !== $festivity->isVigilMass && @@ -613,10 +613,10 @@ public function purgeDataAdventChristmas( int|null $buffer = null ) { ) { unset( $this->festivities[ $key ] ); } - */ } //lastly remove First Sunday of Advent unset( $this->festivities[ "Advent1" ] ); + unset( $this->solemnities[ "Advent1" ] ); } public function mergeFestivityCollection( FestivityCollection $festivities ) {