feat(analyzer): load callback details from config and file_id (#1993)
This commit is contained in:
parent
d93731807c
commit
067b35e9bb
9 changed files with 45 additions and 97 deletions
|
@ -168,10 +168,8 @@ class CcFiles extends BaseCcFiles
|
|||
$file->setDbHidden(true);
|
||||
$file->save();
|
||||
|
||||
$callbackUrl = Config::getPublicUrl() . 'rest/media/' . $file->getPrimaryKey();
|
||||
|
||||
Application_Service_MediaService::importFileToLibrary(
|
||||
$callbackUrl,
|
||||
$file->getPrimaryKey(),
|
||||
$filePath,
|
||||
$originalFilename,
|
||||
self::getOwnerId(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue