diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 8bee17507..2ac3b6092 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -393,9 +393,8 @@ SQL; if (file_exists($filepath) && $type == "stor") { - $data = array("filepath" => $filepath, "delete" => 1); try { - Application_Model_RabbitMq::SendMessageToMediaMonitor("file_delete", $data); + unlink($filepath); } catch (Exception $e) { Logging::error($e->getMessage()); return;