diff options
| author | Frédéric Guillot <fred@kanboard.net> | 2014-11-23 15:55:59 -0500 |
|---|---|---|
| committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-23 15:55:59 -0500 |
| commit | f684602ebedc0adc4a329693ba524ad46d5cd8b0 (patch) | |
| tree | 55a46e900f953a6b437ab20d245aa519dacd40d7 /app/Controller/Task.php | |
| parent | 35e4c1daaa6ede7006905e3e39a751eafd544496 (diff) | |
Create TaskModification model
Diffstat (limited to 'app/Controller/Task.php')
| -rw-r--r-- | app/Controller/Task.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index e75058d9..6c6eaf90 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -204,7 +204,7 @@ class Task extends Base if ($valid) { - if ($this->task->update($values)) { + if ($this->taskModification->update($values)) { $this->session->flash(t('Task updated successfully.')); if ($this->request->getIntegerParam('ajax')) { @@ -245,7 +245,7 @@ class Task extends Base list($valid, $errors) = $this->taskValidator->validateTimeModification($values); - if ($valid && $this->task->update($values)) { + if ($valid && $this->taskModification->update($values)) { $this->session->flash(t('Task updated successfully.')); } else { @@ -386,7 +386,7 @@ class Task extends Base if ($valid) { - if ($this->task->update($values)) { + if ($this->taskModification->update($values)) { $this->session->flash(t('Task updated successfully.')); } else { |
