Merge branch '2.1.x' into devel
Conflicts: airtime_mvc/application/controllers/ScheduleController.php airtime_mvc/application/models/Show.php
This commit is contained in:
commit
255866d240
2 changed files with 27 additions and 43 deletions
|
@ -114,18 +114,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
$editable = false;
|
||||
}
|
||||
|
||||
$this->view->events = Application_Model_Show::getFullCalendarEvents($start, $end, $editable);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
$events = &Application_Model_Show::getFullCalendarEvents($start, $end, $editable);
|
||||
$this->view->events = $events;
|
||||
}
|
||||
|
||||
public function moveShowAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue