diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-07-21 20:32:12 -0230 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-07-21 20:32:12 -0230 |
commit | 9e1dcf21dc5d65bcc4195f1ae4caedbe57835415 (patch) | |
tree | 7fa9a2a08e24de7d16c0196b61e7c1bf8540f486 /app/Model/Project.php | |
parent | 4ae655ced334bb48342274caaf15f2b3d8b444f6 (diff) |
Improve webhooks to call external url on task creation/modification
Diffstat (limited to 'app/Model/Project.php')
-rw-r--r-- | app/Model/Project.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php index 51a23967..5d3f01b9 100644 --- a/app/Model/Project.php +++ b/app/Model/Project.php @@ -4,7 +4,7 @@ namespace Model; use SimpleValidator\Validator; use SimpleValidator\Validators; -use Event\TaskModification; +use Event\ProjectModificationDate; use Core\Security; /** @@ -575,7 +575,7 @@ class Project extends Base Task::EVENT_OPEN, ); - $listener = new TaskModification($this); + $listener = new ProjectModificationDate($this); foreach ($events as $event_name) { $this->event->attach($event_name, $listener); |