* Finish task #8669.
This commit is contained in:
@@ -1689,7 +1689,6 @@ class taskModel extends model
|
||||
public function close($taskID)
|
||||
{
|
||||
$oldTask = $this->dao->select('*')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();
|
||||
if($oldTask->status == 'closed') return array();
|
||||
|
||||
$now = helper::now();
|
||||
$task = fixer::input('post')
|
||||
|
||||
Reference in New Issue
Block a user