summaryrefslogtreecommitdiff
path: root/app/Model/TaskModification.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-04 17:38:17 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-04 17:38:17 -0500
commitc083822806e075fd1932d7ce86903b4df967babb (patch)
tree440114750691cac6925c03c70be62f14264c7b30 /app/Model/TaskModification.php
parent0d03c525a1aa1d54f01e754f762a19c19100c209 (diff)
Create Import namespace and move classes
Diffstat (limited to 'app/Model/TaskModification.php')
-rw-r--r--app/Model/TaskModification.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Model/TaskModification.php b/app/Model/TaskModification.php
index 8e59b3fe..a77b78a4 100644
--- a/app/Model/TaskModification.php
+++ b/app/Model/TaskModification.php
@@ -87,9 +87,9 @@ class TaskModification extends Base
$values = $this->dateParser->convert($values, array('date_due'));
$values = $this->dateParser->convert($values, array('date_started'), true);
- $this->removeFields($values, array('another_task', 'id'));
- $this->resetFields($values, array('date_due', 'date_started', 'score', 'category_id', 'time_estimated', 'time_spent'));
- $this->convertIntegerFields($values, array('priority', 'is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate'));
+ $this->helper->model->removeFields($values, array('another_task', 'id'));
+ $this->helper->model->resetFields($values, array('date_due', 'date_started', 'score', 'category_id', 'time_estimated', 'time_spent'));
+ $this->helper->model->convertIntegerFields($values, array('priority', 'is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate'));
$values['date_modification'] = time();
}