diff options
Diffstat (limited to 'app/Controller/TaskSuppressionController.php')
-rw-r--r-- | app/Controller/TaskSuppressionController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskSuppressionController.php b/app/Controller/TaskSuppressionController.php index 7c9165eb..600107c9 100644 --- a/app/Controller/TaskSuppressionController.php +++ b/app/Controller/TaskSuppressionController.php @@ -41,7 +41,7 @@ class TaskSuppressionController extends BaseController throw new AccessForbiddenException(); } - if ($this->task->remove($task['id'])) { + if ($this->taskModel->remove($task['id'])) { $this->flash->success(t('Task removed successfully.')); } else { $this->flash->failure(t('Unable to remove this task.')); |