Put back date_moved for the task (revert)

This commit is contained in:
Frederic Guillot 2016-01-23 15:00:35 -05:00
parent 5311cf3a16
commit 6371d3272e
1 changed files with 6 additions and 1 deletions

View File

@ -166,7 +166,12 @@ class TaskPosition extends Base
return false;
}
return true;
$now = time();
return $this->db->table(Task::TABLE)->eq('id', $task_id)->update(array(
'date_moved' => $now,
'date_modification' => $now,
));
}
/**