CC-5718: Show content can get scheduled in instances that are in the past
Disabled scheduled content into instances that have already played out Removed setting the show's start date to the first repeating instance's start date because we already fixed that in CC-5697
This commit is contained in:
parent
7660e0cd84
commit
ebc68b980c
3 changed files with 13 additions and 11 deletions
|
@ -183,6 +183,7 @@ class Application_Service_ShowService
|
|||
if (!$currentUser->isAdminOrPM()) {
|
||||
throw new Exception("Permission denied");
|
||||
}
|
||||
|
||||
//update ccShow
|
||||
$this->setCcShow($showData);
|
||||
|
||||
|
@ -224,8 +225,8 @@ class Application_Service_ShowService
|
|||
* We need to do this so we get the correct time diff for
|
||||
* updating show content. CC-5696
|
||||
*/
|
||||
$showData["add_show_start_date"] = $this->ccShow->getFirstCcShowDay()->getDbFirstShow();
|
||||
$showData["add_show_start_time"] = $this->ccShow->getFirstCcShowDay()->getDbStartTime();
|
||||
//$showData["add_show_start_date"] = $this->ccShow->getFirstCcShowDay()->getDbFirstShow();
|
||||
//$showData["add_show_start_time"] = $this->ccShow->getFirstCcShowDay()->getDbStartTime();
|
||||
|
||||
$this->adjustSchedule($showData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue