summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-11 21:05:23 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-11 21:05:23 -0500
commit1a8ca671b5a58dcdf45ed8c165d49e5dd5a2e9a6 (patch)
treef2d1ae2f5c590a2558eec58436589dcc326f48f2 /app/Model
parent7f820a52b07de25296609eabf46e49acb424eeba (diff)
Add subscriber for task (moved date)
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/TaskPosition.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Model/TaskPosition.php b/app/Model/TaskPosition.php
index b8d9d7bf..1e49543a 100644
--- a/app/Model/TaskPosition.php
+++ b/app/Model/TaskPosition.php
@@ -31,10 +31,6 @@ class TaskPosition extends Base
if ($result) {
- if ($original_task['column_id'] != $column_id) {
- $this->db->table(Task::TABLE)->eq('id', $task_id)->update(array('date_moved' => time()));
- }
-
if ($original_task['swimlane_id'] != $swimlane_id) {
$this->calculateAndSave($project_id, 0, $column_id, 1, $original_task['swimlane_id']);
}