From d8e88582f776842ad510f0a42e4705d672c0c277 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 8 Nov 2017 15:36:04 -0800 Subject: Remove useless URL params --- app/Controller/ICalendarController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/Controller') 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'); -- cgit v1.2.3