From f7c6cbd0f41434afd8940bc54498b85d6d19e31c Mon Sep 17 00:00:00 2001 From: Zdenko Pikula Date: Thu, 11 Jan 2018 01:00:15 +0100 Subject: Added plugin hook 'aftersave' after creating Task --- app/Model/TaskCreationModel.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app') diff --git a/app/Model/TaskCreationModel.php b/app/Model/TaskCreationModel.php index dbec2b12..044d754d 100644 --- a/app/Model/TaskCreationModel.php +++ b/app/Model/TaskCreationModel.php @@ -47,6 +47,8 @@ class TaskCreationModel extends Base )); } + $this->hook->reference('model:task:creation:aftersave', $task_id); + return (int) $task_id; } -- cgit v1.2.3