Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
This commit is contained in:
commit
8979e4e5a9
|
@ -393,9 +393,8 @@ SQL;
|
||||||
|
|
||||||
|
|
||||||
if (file_exists($filepath) && $type == "stor") {
|
if (file_exists($filepath) && $type == "stor") {
|
||||||
$data = array("filepath" => $filepath, "delete" => 1);
|
|
||||||
try {
|
try {
|
||||||
Application_Model_RabbitMq::SendMessageToMediaMonitor("file_delete", $data);
|
unlink($filepath);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
Logging::error($e->getMessage());
|
Logging::error($e->getMessage());
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue