diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 19:48:22 -0400 |
commit | 14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch) | |
tree | 79972d53f6091a1ddb17f64a6a05a5523f5d5168 /app/Controller/TaskGanttController.php | |
parent | 936376ffe74c583d3cb819e98f53a85137fdf8bc (diff) |
Rename all models
Diffstat (limited to 'app/Controller/TaskGanttController.php')
-rw-r--r-- | app/Controller/TaskGanttController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/TaskGanttController.php b/app/Controller/TaskGanttController.php index 3d0c5f50..868368e1 100644 --- a/app/Controller/TaskGanttController.php +++ b/app/Controller/TaskGanttController.php @@ -4,7 +4,7 @@ namespace Kanboard\Controller; use Kanboard\Filter\TaskProjectFilter; use Kanboard\Formatter\TaskGanttFormatter; -use Kanboard\Model\Task as TaskModel; +use Kanboard\Model\TaskModel; /** * Tasks Gantt Controller @@ -47,7 +47,7 @@ class TaskGanttController extends BaseController $this->getProject(); $values = $this->request->getJson(); - $result = $this->taskModification->update(array( + $result = $this->taskModificationModel->update(array( 'id' => $values['id'], 'date_started' => strtotime($values['start']), 'date_due' => strtotime($values['end']), |