Make airtime_analyzer respect the storage_backend setting passed to it

by Airtime
This commit is contained in:
Albert Santoni 2015-02-20 18:21:49 -05:00
parent 909cbae5f4
commit c868136d26
3 changed files with 9 additions and 11 deletions

View file

@ -80,12 +80,12 @@ class Application_Model_RabbitMq
}
public static function SendMessageToAnalyzer($tmpFilePath, $importedStorageDirectory, $originalFilename,
$callbackUrl, $apiKey, $currentStorageBackend)
$callbackUrl, $apiKey, $storageBackend)
{
$exchange = 'airtime-uploads';
$data['tmp_file_path'] = $tmpFilePath;
$data['current_storage_backend'] = $currentStorageBackend;
$data['storage_backend'] = $storageBackend;
$data['import_directory'] = $importedStorageDirectory;
$data['original_filename'] = $originalFilename;
$data['callback_url'] = $callbackUrl;