From 2250fb1159934a38b1a45c4fbca7fece4b11733c Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 25 Jun 2012 20:29:56 +0200 Subject: [PATCH] Emit Completed. --- apps/tasks/lib/app.php | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.5