CC-5174: Linked Show: Update a regular show to linked show will move the whole scheduled time forward.
This commit is contained in:
parent
06fbbe89f2
commit
96ac9cb534
1 changed files with 3 additions and 3 deletions
|
@ -197,12 +197,12 @@ class Application_Service_SchedulerService
|
||||||
if (count($ccSchedules) < 1 ||
|
if (count($ccSchedules) < 1 ||
|
||||||
self::replaceInstanceContentCheck($ccSchedules, $showStamp)) {
|
self::replaceInstanceContentCheck($ccSchedules, $showStamp)) {
|
||||||
|
|
||||||
//$nextStartDT = $ccShowInstance->getDbStarts(null);
|
|
||||||
$instanceStart_sql = "SELECT starts FROM cc_show_instances ".
|
$instanceStart_sql = "SELECT starts FROM cc_show_instances ".
|
||||||
"WHERE id = {$id}";
|
"WHERE id = {$id} ".
|
||||||
|
"ORDER BY starts";
|
||||||
$nextStartDT = new DateTime(
|
$nextStartDT = new DateTime(
|
||||||
Application_Common_Database::prepareAndExecute(
|
Application_Common_Database::prepareAndExecute(
|
||||||
$instanceStart_sql, array(), Application_Common_Database::EXECUTE),
|
$instanceStart_sql, array(), Application_Common_Database::COLUMN),
|
||||||
new DateTimeZone("UTC"));
|
new DateTimeZone("UTC"));
|
||||||
|
|
||||||
foreach ($showStamp as $item) {
|
foreach ($showStamp as $item) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue