CC-5795: Airtime Analyzer: "Delete file" in Library doesnt remove it from path

Media monitor was still being used to delete the file from stor
This commit is contained in:
drigato 2014-04-17 16:08:02 -04:00
parent f27ce3af9e
commit df9482f2ff

View file

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