From 04da9b3d61100d62b052d1bea8bed43593a31166 Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 29 Apr 2014 11:09:31 -0400 Subject: [PATCH] CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize Imported file path had album name twice - fixed --- .../application/modules/rest/controllers/MediaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/modules/rest/controllers/MediaController.php b/airtime_mvc/application/modules/rest/controllers/MediaController.php index e74f491c4..ba116af0f 100644 --- a/airtime_mvc/application/modules/rest/controllers/MediaController.php +++ b/airtime_mvc/application/modules/rest/controllers/MediaController.php @@ -387,7 +387,7 @@ class Rest_MediaController extends Zend_Rest_Controller //Dispatch a message to airtime_analyzer through RabbitMQ, //notifying it that there's a new upload to process! Application_Model_RabbitMq::SendMessageToAnalyzer($newTempFilePath, - $importedStorageDirectory, $originalFilename, + $importedStorageDirectory, basename($originalFilename), $callbackUrl, $apiKey); }