diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 15:32:35 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 15:32:35 -0400 |
commit | 4061927d215c846ff8eb196301bf61532018042b (patch) | |
tree | 0e14a0e458ee8739754f75f8c158cc42a9b593a4 /app/Action/TaskMoveAnotherProject.php | |
parent | b7060b33ef317eeac576c504b1fb840d4471e411 (diff) |
Move some Task model methods to the TaskFinder class
Diffstat (limited to 'app/Action/TaskMoveAnotherProject.php')
-rw-r--r-- | app/Action/TaskMoveAnotherProject.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/TaskMoveAnotherProject.php b/app/Action/TaskMoveAnotherProject.php index 9922a981..d852f56d 100644 --- a/app/Action/TaskMoveAnotherProject.php +++ b/app/Action/TaskMoveAnotherProject.php @@ -64,7 +64,7 @@ class TaskMoveAnotherProject extends Base */ public function doAction(array $data) { - $task = $this->task->getById($data['task_id']); + $task = $this->taskFinder->getById($data['task_id']); $this->task->moveToAnotherProject($this->getParam('project_id'), $task); return true; } |