re-add getCurrentShowAction

This commit is contained in:
Martin Konecny 2012-07-26 14:36:21 -04:00
parent 40bd33df11
commit 3f41835e12
1 changed files with 11 additions and 0 deletions

View File

@ -118,6 +118,17 @@ class ScheduleController extends Zend_Controller_Action
$this->view->events = $events;
}
public function getCurrentShowAction()
{
$currentShow = Application_Model_Show::GetCurrentShow();
if (!empty($currentShow)) {
$this->view->si_id = $currentShow[0]["instance_id"];
$this->view->current_show = true;
} else {
$this->view->current_show = false;
}
}
public function moveShowAction()
{
$deltaDay = $this->_getParam('day');