CC-4120: memory optimizations for calendar page.

-can now fetch over a year of data at a time
This commit is contained in:
Martin Konecny 2012-07-22 19:14:29 -04:00
parent eba4b688c4
commit aaa0c01e01
2 changed files with 26 additions and 30 deletions

View file

@ -114,7 +114,8 @@ class ScheduleController extends Zend_Controller_Action
$editable = false;
}
$this->view->events = Application_Model_Show::getFullCalendarEvents($start, $end, $editable);
$events = &Application_Model_Show::getFullCalendarEvents($start, $end, $editable);
$this->view->events = $events;
}
public function moveShowAction()