summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Model/TaskPosition.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Model/TaskPosition.php b/app/Model/TaskPosition.php
index 0e29c4b1..4c9928d7 100644
--- a/app/Model/TaskPosition.php
+++ b/app/Model/TaskPosition.php
@@ -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,
+ ));
}
/**