Move some Task model methods to the TaskFinder class

This commit is contained in:
Frédéric Guillot
2014-10-12 15:32:35 -04:00
parent b7060b33ef
commit 4061927d21
32 changed files with 434 additions and 334 deletions

View File

@@ -276,7 +276,7 @@ abstract class Base
*/
protected function getTask()
{
$task = $this->task->getDetails($this->request->getIntegerParam('task_id'));
$task = $this->taskFinder->getDetails($this->request->getIntegerParam('task_id'));
if (! $task) {
$this->notfound();