summaryrefslogtreecommitdiffstats
path: root/apps/tasks
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-25 20:29:56 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-25 20:30:21 +0200
commit2250fb1159934a38b1a45c4fbca7fece4b11733c (patch)
tree643d519c58275ea4429eb5b112d8b4e8c4caa28b /apps/tasks
parenta52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7 (diff)
downloadnextcloud-server-2250fb1159934a38b1a45c4fbca7fece4b11733c.tar.gz
nextcloud-server-2250fb1159934a38b1a45c4fbca7fece4b11733c.zip
Emit Completed.
Diffstat (limited to 'apps/tasks')
-rw-r--r--apps/tasks/lib/app.php1
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);
}