diff options
| author | Frédéric Guillot <fred@kanboard.net> | 2014-11-21 21:41:26 -0500 |
|---|---|---|
| committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-21 21:41:26 -0500 |
| commit | 8f0e544cd91b24423951bbb5d3f3be0950a63abe (patch) | |
| tree | 456291eb5d7bdb846329b8b4fe55cdb5490a442c /app/Controller/Task.php | |
| parent | 2a850757ee5f9c1a2119c562cf6caba3eda7ceba (diff) | |
Create TaskStatus model
Diffstat (limited to 'app/Controller/Task.php')
| -rw-r--r-- | app/Controller/Task.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index d1be8e1e..cad2f583 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -268,7 +268,7 @@ class Task extends Base $this->checkCSRFParam(); - if ($this->task->close($task['id'])) { + if ($this->taskStatus->close($task['id'])) { $this->session->flash(t('Task closed successfully.')); } else { $this->session->flashError(t('Unable to close this task.')); @@ -295,7 +295,7 @@ class Task extends Base $this->checkCSRFParam(); - if ($this->task->open($task['id'])) { + if ($this->taskStatus->open($task['id'])) { $this->session->flash(t('Task opened successfully.')); } else { $this->session->flashError(t('Unable to open this task.')); |
