Esempio n. 1
0
 public function deleteShow()
 {
     // see if it was recording show
     $recording = CcShowInstancesQuery::create()->findPK($this->_instanceId)->getDbRecord();
     CcShowInstancesQuery::create()->findPK($this->_instanceId)->delete();
     RabbitMq::PushSchedule();
     if ($recording) {
         RabbitMq::SendMessageToShowRecorder("cancel_recording");
     }
 }