From 1a8ca671b5a58dcdf45ed8c165d49e5dd5a2e9a6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 11 Feb 2015 21:05:23 -0500 Subject: Add subscriber for task (moved date) --- app/Model/TaskPosition.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/Model') 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']); } -- cgit v1.2.3