diff --git a/airtime_mvc/application/models/RabbitMq.php b/airtime_mvc/application/models/RabbitMq.php index a01d5c9a9..4e00da379 100644 --- a/airtime_mvc/application/models/RabbitMq.php +++ b/airtime_mvc/application/models/RabbitMq.php @@ -82,7 +82,7 @@ class Application_Model_RabbitMq $temp['event_type'] = $event_type; $temp['server_timezone'] = Application_Model_Preference::GetTimezone(); - if($event_type = "update_recorder_schedule"){ + if($event_type == "update_recorder_schedule"){ $temp['shows'] = Application_Model_Show::getShows($now, $end_timestamp, $excludeInstance=NULL, $onlyRecord=TRUE); } $data = json_encode($temp); diff --git a/airtime_mvc/application/models/ShowInstance.php b/airtime_mvc/application/models/ShowInstance.php index 024a4faa5..f1dd07cd3 100644 --- a/airtime_mvc/application/models/ShowInstance.php +++ b/airtime_mvc/application/models/ShowInstance.php @@ -543,9 +543,6 @@ class Application_Model_ShowInstance { } Application_Model_RabbitMq::PushSchedule(); - if($recording){ - Application_Model_RabbitMq::SendMessageToShowRecorder("cancel_recording"); - } } public function setRecordedFile($file_id)