CC-3258 : Deleting a rebroadcasting show deletes also the recorded show

This commit is contained in:
Naomi Aro 2012-01-17 14:11:12 +01:00
parent 169141d530
commit 3588cca654
1 changed files with 6 additions and 1 deletions

View File

@ -494,7 +494,12 @@ class Application_Model_ShowInstance {
}
}
else {
$show->delete();
if ($this->isRebroadcast()) {
$this->_showInstance->delete();
}
else {
$show->delete();
}
}
}