CC-3258 : Deleting a rebroadcasting show deletes also the recorded show
This commit is contained in:
parent
169141d530
commit
3588cca654
|
@ -493,10 +493,15 @@ class Application_Model_ShowInstance {
|
||||||
->delete();
|
->delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if ($this->isRebroadcast()) {
|
||||||
|
$this->_showInstance->delete();
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$show->delete();
|
$show->delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Application_Model_RabbitMq::PushSchedule();
|
Application_Model_RabbitMq::PushSchedule();
|
||||||
if($recording){
|
if($recording){
|
||||||
|
|
Loading…
Reference in New Issue