Remove useless URL params

This commit is contained in:
Frederic Guillot 2017-11-08 15:36:04 -08:00
parent 4d7aa5e301
commit d8e88582f7
1 changed files with 4 additions and 4 deletions

View File

@ -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');