diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-25 20:29:56 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-25 20:30:21 +0200 |
commit | 2250fb1159934a38b1a45c4fbca7fece4b11733c (patch) | |
tree | 643d519c58275ea4429eb5b112d8b4e8c4caa28b /apps/tasks | |
parent | a52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7 (diff) | |
download | nextcloud-server-2250fb1159934a38b1a45c4fbca7fece4b11733c.tar.gz nextcloud-server-2250fb1159934a38b1a45c4fbca7fece4b11733c.zip |
Emit Completed.
Diffstat (limited to 'apps/tasks')
-rw-r--r-- | apps/tasks/lib/app.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tasks/lib/app.php b/apps/tasks/lib/app.php index 7b908420333..1b42968f0be 100644 --- a/apps/tasks/lib/app.php +++ b/apps/tasks/lib/app.php @@ -180,6 +180,7 @@ class OC_Task_App { $timezone = new DateTimeZone($timezone); $completed = new DateTime($completed, $timezone); $vtodo->setDateTime('COMPLETED', $completed); + OCP\Util::emitHook('OC_Task', 'taskCompleted', $vtodo); } else { unset($vtodo->COMPLETED); } |