diff options
| author | Frederic Guillot <fred@kanboard.net> | 2015-11-15 12:50:33 -0500 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2015-11-15 12:50:33 -0500 |
| commit | a675271ad71b7713d1b33bdba3c51b2b04813229 (patch) | |
| tree | e54d8a95e16ca521193b9fd5a5eb071aa2910823 /app/Controller/Taskcreation.php | |
| parent | 2fc402f6733573627ad25394d109b9f848ef04f6 (diff) | |
Rewrite of session management
Diffstat (limited to 'app/Controller/Taskcreation.php')
| -rw-r--r-- | app/Controller/Taskcreation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php index e47cd1b7..cffa9d74 100644 --- a/app/Controller/Taskcreation.php +++ b/app/Controller/Taskcreation.php @@ -59,10 +59,10 @@ class Taskcreation extends Base list($valid, $errors) = $this->taskValidator->validateCreation($values); if ($valid && $this->taskCreation->create($values)) { - $this->session->flash(t('Task created successfully.')); + $this->flash->success(t('Task created successfully.')); $this->afterSave($project, $values); } else { - $this->session->flashError(t('Unable to create your task.')); + $this->flash->failure(t('Unable to create your task.')); } $this->create($values, $errors); |
