SAAS-527: Allow files to be uploaded to either the cloud or on local file storage
Not quite done.
This commit is contained in:
parent
ff0a685243
commit
1de326283e
5 changed files with 29 additions and 12 deletions
|
@ -80,11 +80,12 @@ class Application_Model_RabbitMq
|
|||
}
|
||||
|
||||
public static function SendMessageToAnalyzer($tmpFilePath, $importedStorageDirectory, $originalFilename,
|
||||
$callbackUrl, $apiKey)
|
||||
$callbackUrl, $apiKey, $currentStorageBackend)
|
||||
{
|
||||
$exchange = 'airtime-uploads';
|
||||
|
||||
$data['tmp_file_path'] = $tmpFilePath;
|
||||
$data['current_storage_backend'] = $currentStorageBackend;
|
||||
$data['import_directory'] = $importedStorageDirectory;
|
||||
$data['original_filename'] = $originalFilename;
|
||||
$data['callback_url'] = $callbackUrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue