Move some Task model methods to the TaskFinder class
This commit is contained in:
@@ -26,7 +26,7 @@ class Task extends Base
|
||||
$this->forbidden(true);
|
||||
}
|
||||
|
||||
$task = $this->task->getDetails($this->request->getIntegerParam('task_id'));
|
||||
$task = $this->taskFinder->getDetails($this->request->getIntegerParam('task_id'));
|
||||
|
||||
if (! $task) {
|
||||
$this->notfound(true);
|
||||
|
||||
Reference in New Issue
Block a user