]> source.dussan.org Git - nextcloud-server.git/commitdiff
Emit Completed.
authorThomas Tanghus <thomas@tanghus.net>
Mon, 25 Jun 2012 18:29:56 +0000 (20:29 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 25 Jun 2012 18:30:21 +0000 (20:30 +0200)
apps/tasks/lib/app.php

index 7b908420333f257712ab7e02b0a2868cfca23715..1b42968f0bea7c05370402a44d7df927eae1c6ba 100644 (file)
@@ -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);
                }