CC-5896: Store cloud files in separate table, inherited from cc_files
Fixed broken metadata display on Library page Fixed broken download/preview option from Library page
This commit is contained in:
parent
f1ea100411
commit
ecb072b84c
4 changed files with 24 additions and 10 deletions
|
@ -226,6 +226,9 @@ class Rest_MediaController extends Zend_Rest_Controller
|
|||
|
||||
//file is stored in the cloud
|
||||
if (isset($requestData["resource_id"])) {
|
||||
//store the original filename
|
||||
$file->setDbFilepath($requestData["filename"]);
|
||||
|
||||
$fileSizeBytes = $requestData["filesize"];
|
||||
$cloudFile = new CloudFile();
|
||||
$cloudFile->setResourceId($requestData["resource_id"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue