CC-3542 : When you delete the current show it takes all songs from that show out of the playout history
This commit is contained in:
parent
d27470da99
commit
5dfaa00c25
|
@ -570,11 +570,13 @@ class Application_Model_Scheduler {
|
|||
}
|
||||
|
||||
$this->removeItems($remove, false);
|
||||
$instance->setDbEnds($this->nowDT);
|
||||
$instance->save($this->con);
|
||||
}
|
||||
|
||||
$instance->setDbEnds($this->nowDT);
|
||||
$instance->save($this->con);
|
||||
|
||||
else {
|
||||
$instance->delete($this->con);
|
||||
}
|
||||
|
||||
$this->con->commit();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
|
|
Loading…
Reference in New Issue