Skip to content

Commit

Permalink
remove send event in notifyProcessUpdated
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoAntonioNina committed Mar 22, 2024
1 parent bab5081 commit 588b6e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ProcessMaker/Models/ProcessRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -873,11 +873,10 @@ public function getVersionDefinitions($forceParse = false, $engine = null)
public function notifyProcessUpdated($eventName)
{
$event = new ProcessUpdated($this, $eventName);
event($event);
if ($this->parentRequest) {
$this->parentRequest->notifyProcessUpdated($eventName);
event($event);
}
event($event);
}

/**
Expand Down

0 comments on commit 588b6e5

Please sign in to comment.