CC-5888: Handle file deletion if the file is stored in the cloud

This commit is contained in:
drigato 2014-07-16 12:03:22 -04:00
parent aaee522ec6
commit 7ca6b91cdf
4 changed files with 17 additions and 17 deletions

View file

@ -402,6 +402,8 @@ SQL;
$CC_CONFIG = Config::getConfig();
$apiKey = $CC_CONFIG["apiKey"][0];
//If the file was successfully deleted from the cloud the analyzer
//will make a request to the Media API to do the deletion cleanup.
$callbackUrl = 'http://'.$_SERVER['HTTP_HOST'].'/rest/media/'.$file_id.'/delete-success';
Application_Model_RabbitMq::SendDeleteMessageToAnalyzer(