CC-4641: Now Playing: Extending show's length won't change the overbooked track's style
-fixed
This commit is contained in:
parent
1899d588ee
commit
fd0e1c3c95
|
@ -270,6 +270,8 @@ SQL;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//update the status flag in cc_schedule.
|
//update the status flag in cc_schedule.
|
||||||
|
|
||||||
|
CcShowInstancesPeer::clearInstancePool();
|
||||||
$instances = CcShowInstancesQuery::create()
|
$instances = CcShowInstancesQuery::create()
|
||||||
->filterByDbEnds($current_timestamp, Criteria::GREATER_THAN)
|
->filterByDbEnds($current_timestamp, Criteria::GREATER_THAN)
|
||||||
->filterByDbShowId($this->_showId)
|
->filterByDbShowId($this->_showId)
|
||||||
|
@ -1253,6 +1255,7 @@ SQL;
|
||||||
if ($data['add_show_id'] != -1) {
|
if ($data['add_show_id'] != -1) {
|
||||||
$con = Propel::getConnection(CcSchedulePeer::DATABASE_NAME);
|
$con = Propel::getConnection(CcSchedulePeer::DATABASE_NAME);
|
||||||
$con->beginTransaction();
|
$con->beginTransaction();
|
||||||
|
|
||||||
|
|
||||||
//current timesamp in UTC.
|
//current timesamp in UTC.
|
||||||
$current_timestamp = gmdate("Y-m-d H:i:s");
|
$current_timestamp = gmdate("Y-m-d H:i:s");
|
||||||
|
|
Loading…
Reference in New Issue