summaryrefslogtreecommitdiff
path: root/app/Model/TaskStatusModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-23 21:48:59 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-23 21:48:59 -0400
commit24555080fd3ca8607f0a798b5a0e4be98ff131f8 (patch)
tree8a92479149bbc079a7f6b1daa678d612534d80a2 /app/Model/TaskStatusModel.php
parentf216e345ba2ad7486037c393c0475a1371ca2b00 (diff)
Create new class SubtaskStatusModel
Diffstat (limited to 'app/Model/TaskStatusModel.php')
-rw-r--r--app/Model/TaskStatusModel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskStatusModel.php b/app/Model/TaskStatusModel.php
index ea304beb..dc114698 100644
--- a/app/Model/TaskStatusModel.php
+++ b/app/Model/TaskStatusModel.php
@@ -45,7 +45,7 @@ class TaskStatusModel extends Base
*/
public function close($task_id)
{
- $this->subtaskModel->closeAll($task_id);
+ $this->subtaskStatusModel->closeAll($task_id);
return $this->changeStatus($task_id, TaskModel::STATUS_CLOSED, time(), TaskModel::EVENT_CLOSE);
}