CC-5347 : isScheduled doesn't work for webstreams

This commit is contained in:
Naomi 2013-10-02 11:24:48 -04:00
parent a34ae69d4b
commit 4d01e3b11f
4 changed files with 43 additions and 9 deletions

View file

@ -638,7 +638,10 @@ class ScheduleController extends Zend_Controller_Action
public function updateFutureIsScheduledAction()
{
$schedId = $this->_getParam('schedId');
$redrawLibTable = Application_Model_StoredFile::setIsScheduled($schedId, false);
$scheduleService = new Application_Service_SchedulerService();
$redrawLibTable = $scheduleService->updateFutureIsScheduled($schedId, false);
$this->_helper->json->sendJson(array("redrawLibTable" => $redrawLibTable));
}
}