mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
[Feature] Prevent sending notification to user when bulk reassign
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user