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:
parent
f27ce3af9e
commit
df9482f2ff
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue