Merge branch '2.5.x'
This commit is contained in:
commit
70c2d396bc
|
@ -173,6 +173,10 @@ class Application_Service_SchedulerService
|
||||||
* any other instances with content
|
* any other instances with content
|
||||||
*/
|
*/
|
||||||
$instanceIds = $ccShow->getInstanceIds();
|
$instanceIds = $ccShow->getInstanceIds();
|
||||||
|
if (count($instanceIds) == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$schedule_sql = "SELECT * FROM cc_schedule ".
|
$schedule_sql = "SELECT * FROM cc_schedule ".
|
||||||
"WHERE instance_id IN (".implode($instanceIds, ",").")";
|
"WHERE instance_id IN (".implode($instanceIds, ",").")";
|
||||||
$ccSchedules = Application_Common_Database::prepareAndExecute(
|
$ccSchedules = Application_Common_Database::prepareAndExecute(
|
||||||
|
@ -427,4 +431,4 @@ class Application_Service_SchedulerService
|
||||||
|
|
||||||
return $redraw;
|
return $redraw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,11 +163,6 @@ class Application_Service_ShowService
|
||||||
|
|
||||||
$this->storeOrigLocalShowInfo();
|
$this->storeOrigLocalShowInfo();
|
||||||
|
|
||||||
// updates cc_show_instances start/end times, and updates
|
|
||||||
// schedule start/end times
|
|
||||||
// **Not sure why this function is here. It seems unnecesssary
|
|
||||||
//$this->applyShowStartEndDifference($showData);
|
|
||||||
|
|
||||||
$this->deleteRebroadcastInstances();
|
$this->deleteRebroadcastInstances();
|
||||||
|
|
||||||
$this->deleteCcShowDays();
|
$this->deleteCcShowDays();
|
||||||
|
|
Loading…
Reference in New Issue