summaryrefslogtreecommitdiff
path: root/app/Model/Subtask.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/Subtask.php
parent0d03c525a1aa1d54f01e754f762a19c19100c209 (diff)
Create Import namespace and move classes
Diffstat (limited to 'app/Model/Subtask.php')
-rw-r--r--app/Model/Subtask.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Subtask.php b/app/Model/Subtask.php
index b5898fcf..3f5cfe83 100644
--- a/app/Model/Subtask.php
+++ b/app/Model/Subtask.php
@@ -168,8 +168,8 @@ class Subtask extends Base
*/
public function prepare(array &$values)
{
- $this->removeFields($values, array('another_subtask'));
- $this->resetFields($values, array('time_estimated', 'time_spent'));
+ $this->helper->model->removeFields($values, array('another_subtask'));
+ $this->helper->model->resetFields($values, array('time_estimated', 'time_spent'));
}
/**