From d2dc02cf9e8ebfb76a29ed83022c4a92a842c8d2 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Tue, 15 May 2012 15:07:42 +0200 Subject: [PATCH] CC-3777 : Decide on what should happen with canceling recorded show --- airtime_mvc/application/models/Scheduler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airtime_mvc/application/models/Scheduler.php b/airtime_mvc/application/models/Scheduler.php index f7c20fcfe..3e7a39aa7 100644 --- a/airtime_mvc/application/models/Scheduler.php +++ b/airtime_mvc/application/models/Scheduler.php @@ -652,6 +652,10 @@ class Application_Model_Scheduler { $this->removeItems($remove, false); } + } + else { + $rebroadcasts = $instance->getCcShowInstancessRelatedByDbId(null, $this->con); + $rebroadcasts->delete($this->con); } $instance->setDbEnds($this->nowDT);