diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-14 22:10:08 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-14 22:10:08 -0400 |
commit | d1e6c39df4e6cb9eec60bf498e0d1c7abb23ace8 (patch) | |
tree | d1bd7422b364be088722a464317fffe5f97fd37c /app/Subscriber | |
parent | eaff957839ad2cfaf3b5913f99dd56ca85c7c1e1 (diff) |
Fix issue: task time tracking is not updated when deleting a subtask
Diffstat (limited to 'app/Subscriber')
-rw-r--r-- | app/Subscriber/SubtaskTimeTrackingSubscriber.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Subscriber/SubtaskTimeTrackingSubscriber.php b/app/Subscriber/SubtaskTimeTrackingSubscriber.php index e45b2c93..2d3b5f99 100644 --- a/app/Subscriber/SubtaskTimeTrackingSubscriber.php +++ b/app/Subscriber/SubtaskTimeTrackingSubscriber.php @@ -12,6 +12,7 @@ class SubtaskTimeTrackingSubscriber extends \Core\Base implements EventSubscribe { return array( Subtask::EVENT_CREATE => array('updateTaskTime', 0), + Subtask::EVENT_DELETE => array('updateTaskTime', 0), Subtask::EVENT_UPDATE => array( array('logStartEnd', 10), array('updateTaskTime', 0), |