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);
|
$this->removeItems($remove, false);
|
||||||
|
$instance->setDbEnds($this->nowDT);
|
||||||
|
$instance->save($this->con);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
$instance->setDbEnds($this->nowDT);
|
$instance->delete($this->con);
|
||||||
$instance->save($this->con);
|
}
|
||||||
|
|
||||||
$this->con->commit();
|
$this->con->commit();
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue