diff --git a/src/applications/maniphest/controller/ManiphestTransactionSaveController.php b/src/applications/maniphest/controller/ManiphestTransactionSaveController.php index 934f182301..c3b3823a3d 100644 --- a/src/applications/maniphest/controller/ManiphestTransactionSaveController.php +++ b/src/applications/maniphest/controller/ManiphestTransactionSaveController.php @@ -239,6 +239,17 @@ final class ManiphestTransactionSaveController extends ManiphestController { $draft->delete(); } + $event = new PhabricatorEvent( + PhabricatorEventType::TYPE_MANIPHEST_DIDEDITTASK, + array( + 'task' => $task, + 'new' => false, + 'transactions' => $transactions, + )); + $event->setUser($user); + $event->setAphrontRequest($request); + PhutilEventEngine::dispatchEvent($event); + return id(new AphrontRedirectResponse()) ->setURI('/T'.$task->getID()); }