[Feature] Prevent sending notification to user when bulk reassign

This commit is contained in:
2022-10-06 21:44:23 +02:00
parent 86cfd87d71
commit cf0252b469
5 changed files with 11 additions and 9 deletions

View File

@@ -62,6 +62,7 @@ class UserRefEventSubscriber implements EventSubscriberInterface
&& $period->getUser() !== $this->security->getUser()
&& null !== $period->getUser()
&& $period->getStep() !== AccompanyingPeriod::STEP_DRAFT
&& !$period->isPreventUserIsChangedNotification()
) {
$this->generateNotificationToUser($period);
}