can schedule in a show (just one playlist currently), schedule table is cleared of shows contents when a show is deleted, can clear a show of contents.

This commit is contained in:
Naomi 2010-12-16 15:15:43 -05:00
parent 1b216c16dd
commit d95c4ab0fc
24 changed files with 2825 additions and 300 deletions

View file

@ -145,13 +145,11 @@ class ScheduleController extends Zend_Controller_Action
$showId = $this->_getParam('showId');
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
$user = new User($userInfo->id, $userInfo->type);
$show = new Show($user, $showId);
$show->scheduleShow($start, $plId);
if($user->isHost($showId)) {
$sched = new ScheduleGroup();
$this->view->res = $sched->add($start, null, $plId);
}
}
else {
$length = $this->_getParam('length');