CC-4454: Show deleting: if you do 'delete this instance and all following', it doesn't remove entries from cc_schedule table

-fixed
This commit is contained in:
Martin Konecny 2012-09-17 12:32:39 -04:00
parent ab99e64e8a
commit 5d0592c729
4 changed files with 20 additions and 24 deletions

View file

@ -518,7 +518,7 @@ SQL;
return false;
}
public function delete()
public function delete($rabbitmqPush = true)
{
// see if it was recording show
$recording = $this->isRecorded();
@ -568,7 +568,9 @@ SQL;
}
}
Application_Model_RabbitMq::PushSchedule();
if ($rabbitmqPush) {
Application_Model_RabbitMq::PushSchedule();
}
}
public function setRecordedFile($file_id)