diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-08 15:36:04 -0800 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-08 15:36:04 -0800 |
commit | d8e88582f776842ad510f0a42e4705d672c0c277 (patch) | |
tree | ab408324da4f4bc67b24a4a9da317747b49ba4a9 | |
parent | 4d7aa5e301c69bdc0cdd7ecc45c45daa6b455eb1 (diff) |
Remove useless URL params
-rw-r--r-- | app/Controller/ICalendarController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/ICalendarController.php b/app/Controller/ICalendarController.php index 20e2a9d7..38475a32 100644 --- a/app/Controller/ICalendarController.php +++ b/app/Controller/ICalendarController.php @@ -28,8 +28,8 @@ class ICalendarController extends BaseController throw AccessForbiddenException::getInstance()->withoutLayout(); } - $startRange = $this->request->getStringParam('start', strtotime('-2 months')); - $endRange = $this->request->getStringParam('end', strtotime('+6 months')); + $startRange = strtotime('-2 months'); + $endRange = strtotime('+6 months'); $startColumn = $this->configModel->get('calendar_project_tasks', 'date_started'); @@ -68,8 +68,8 @@ class ICalendarController extends BaseController throw AccessForbiddenException::getInstance()->withoutLayout(); } - $startRange = $this->request->getStringParam('start', strtotime('-2 months')); - $endRange = $this->request->getStringParam('end', strtotime('+6 months')); + $startRange = strtotime('-2 months'); + $endRange = strtotime('+6 months'); $startColumn = $this->configModel->get('calendar_project_tasks', 'date_started'); |