From 47029366a6bfecc97158446283aaa0fa59ce4837 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Wed, 28 Nov 2012 06:07:49 +0000 Subject: [PATCH] * code for task#948. * code for notify client. --- module/task/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/task/control.php b/module/task/control.php index fc3b8fc702..df0040df50 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -347,8 +347,7 @@ class task extends control if(!$task) die(js::error($this->lang->notFound) . js::locate('back')); /* Update action. */ - // if($task->assignedTo == $this->app->user->account) $this->loadModel('action')->read('task', $taskID); - $this->loadModel('action')->getUnreadActions(); + if($task->assignedTo == $this->app->user->account) $this->loadModel('action')->read('task', $taskID); /* Set menu. */ $project = $this->project->getById($task->project);