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

@ -117,6 +117,17 @@ class ScheduleController extends Zend_Controller_Action
$events = &Application_Model_Show::getFullCalendarEvents($start, $end, $editable);
$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()
{