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