diff options
author | Zdenko Pikula <razorzdenko@gmail.com> | 2018-01-11 01:00:15 +0100 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2018-01-10 16:00:15 -0800 |
commit | f7c6cbd0f41434afd8940bc54498b85d6d19e31c (patch) | |
tree | 332f7ad34ccb27eda1c311cb2df56707b7e95049 /app | |
parent | 227b4a5c21b0044a97d7e251ae7e5fa42ec73e3c (diff) |
Added plugin hook 'aftersave' after creating Task
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/TaskCreationModel.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |