CC-4374: Nowplayling page: Cannot remove tracks from recording show

-fixed by disallowing dragging into recording shows
This commit is contained in:
denise 2012-11-02 13:24:47 -04:00
parent 44e240741a
commit ba1f6ed054

View file

@ -104,6 +104,10 @@ class Application_Model_Scheduler
if ($this->checkUserPermissions && $this->user->canSchedule($show->getDbId()) === false) {
throw new Exception("You are not allowed to schedule show {$show->getDbName()}.");
}
if ($instance->getDbRecord()) {
throw new Exception("You cannot add files to recording shows.");
}
$showEndEpoch = floatval($instance->getDbEnds("U.u"));