diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-17 10:09:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-17 10:09:03 -0400 |
commit | 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec (patch) | |
tree | 289222e21420b8d0092f06de097090f179202f6b /app/Model/TaskDuplication.php | |
parent | b40190ee9fd557d86e594208ed77fa762c7dcfb7 (diff) |
Run php-cs-fixer on the code base
Diffstat (limited to 'app/Model/TaskDuplication.php')
-rwxr-xr-x | app/Model/TaskDuplication.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Model/TaskDuplication.php b/app/Model/TaskDuplication.php index 60fcac0c..e81fb232 100755 --- a/app/Model/TaskDuplication.php +++ b/app/Model/TaskDuplication.php @@ -63,7 +63,6 @@ class TaskDuplication extends Base $values = $this->copyFields($task_id); if ($values['recurrence_status'] == Task::RECURRING_STATUS_PENDING) { - $values['recurrence_parent'] = $task_id; $values['column_id'] = $this->board->getFirstColumn($values['project_id']); $this->calculateRecurringTaskDueDate($values); @@ -71,7 +70,6 @@ class TaskDuplication extends Base $recurring_task_id = $this->save($task_id, $values); if ($recurring_task_id > 0) { - $parent_update = $this->db ->table(Task::TABLE) ->eq('id', $task_id) @@ -203,7 +201,6 @@ class TaskDuplication extends Base public function calculateRecurringTaskDueDate(array &$values) { if (! empty($values['date_due']) && $values['recurrence_factor'] != 0) { - if ($values['recurrence_basedate'] == Task::RECURRING_BASEDATE_TRIGGERDATE) { $values['date_due'] = time(); } |