Skip to content

Commit

Permalink
must remove Advent1_vigil also
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Mar 25, 2024
1 parent a9b0238 commit 538104f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/FestivityCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
&&
Expand All @@ -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 ) {
Expand Down

0 comments on commit 538104f

Please sign in to comment.