* code for task#948.

* code for notify client.
This commit is contained in:
chencongzhi520@gmail.com
2012-11-28 06:07:49 +00:00
parent 43c2361779
commit 47029366a6

View File

@@ -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);