mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
Feature: [workflow] do not send a notification for each step to creator's workflow
Now, by default: - the creator will receive a notification for the last step only; - the participant / assignee for each step won't receive a notification (unless they explicitly choose to receive one)
This commit is contained in:
@@ -132,8 +132,6 @@ class EntityWorkflowStep
|
||||
{
|
||||
if (!$this->destUser->contains($user)) {
|
||||
$this->destUser[] = $user;
|
||||
$this->getEntityWorkflow()
|
||||
->addSubscriberToFinal($user);
|
||||
}
|
||||
|
||||
return $this;
|
||||
@@ -143,8 +141,6 @@ class EntityWorkflowStep
|
||||
{
|
||||
if (!$this->destUserByAccessKey->contains($user) && !$this->destUser->contains($user)) {
|
||||
$this->destUserByAccessKey[] = $user;
|
||||
$this->getEntityWorkflow()
|
||||
->addSubscriberToFinal($user);
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user