* finish task #2003.

This commit is contained in:
wangyidong
2014-08-18 07:14:09 +00:00
parent f5c3728f53
commit ddc3fd28ea
11 changed files with 143 additions and 24 deletions
+4
View File
@@ -80,6 +80,10 @@ class task extends control
$this->loadModel('action');
foreach($tasksID as $taskID)
{
/* if status is existed then this task has existed not new create. */
if($taskID['status'] == 'existed') continue;
$taskID = $taskID['id'];
$actionID = $this->action->create('task', $taskID, 'Opened', '');
$this->sendmail($taskID, $actionID);
}