diff --git a/bundle/EventListener/ScheduledVisibilityListener.php b/bundle/EventListener/ScheduledVisibilityListener.php index 4d9f819..5a4426f 100644 --- a/bundle/EventListener/ScheduledVisibilityListener.php +++ b/bundle/EventListener/ScheduledVisibilityListener.php @@ -42,8 +42,6 @@ public function onPublishVersion(PublishVersionEvent $event): void $this->scheduledVisibilityService->updateVisibilityIfNeeded($content); } catch (InvalidStateException $exception) { $this->logger->error($exception->getMessage()); - - return; } } }