CC-3825 : Deleting any recorded show cancels the current recording show

This commit is contained in:
Naomi Aro 2012-05-15 13:02:24 +02:00
parent 4a6a31c5a4
commit 6a2bab66fa
2 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -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)