diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-14 16:11:13 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-14 16:11:13 -0500 |
commit | f7e4c3928aba9cb7f5222cb4af67846312bbb435 (patch) | |
tree | 78f5854a0bdc538c977bad718a11d605a4caaca6 /app/Controller/Calendar.php | |
parent | 364382b1b58db8bf1bd2c8866e21c869a7a5d6d0 (diff) |
Refactoring/simplification of the pull-request about links
Diffstat (limited to 'app/Controller/Calendar.php')
-rw-r--r-- | app/Controller/Calendar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Calendar.php b/app/Controller/Calendar.php index abbcab7f..0e749558 100644 --- a/app/Controller/Calendar.php +++ b/app/Controller/Calendar.php @@ -2,7 +2,7 @@ namespace Controller; -use Model\Task; +use Model\Task as TaskModel; /** * Project Calendar controller @@ -74,7 +74,7 @@ class Calendar extends Base $this->taskFilter ->create() ->filterByOwner($user_id) - ->filterByStatus(Task::STATUS_OPEN) + ->filterByStatus(TaskModel::STATUS_OPEN) ->filterByDueDateRange( $this->request->getStringParam('start'), $this->request->getStringParam('end') |