Skip to content

Commit

Permalink
Event zones
Browse files Browse the repository at this point in the history
  • Loading branch information
Remg committed May 14, 2024
1 parent 8087fd9 commit 47a0b28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Geo/Subscriber/ZoneAssignerSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ public function assignZoneToEvent(EventEvent $eventEvent): void
{
$event = $eventEvent->getEvent();

if ($event->getAddress() && $eventEvent->isAddressChanged()) {
$this->assignZone($event, $event->getPostAddressModel(), true);
}

if ($event->getZones()->isEmpty() && $event instanceof BaseCommitteeEvent) {
/** @var Zone $firstZone */
$firstZone = $event->getCommittee()->getZones()->first();
Expand Down

0 comments on commit 47a0b28

Please sign in to comment.