mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Fix incorrect Translation namespace
This commit is contained in:
parent
a8278b37ff
commit
0a2f04a3cc
@ -6,6 +6,7 @@ namespace EGroupware\Filemanager\Sharing;
|
||||
use EGroupware\Api\Etemplate;
|
||||
use EGroupware\Api\Json;
|
||||
use EGroupware\Api\Vfs;
|
||||
use EGroupware\Api\Translation;
|
||||
use EGroupware\Api\Vfs\Sharing;
|
||||
use EGroupware\Api\Vfs\UploadSharingUi;
|
||||
|
||||
@ -68,7 +69,7 @@ class HiddenUpload extends AnonymousList
|
||||
*/
|
||||
protected static function handle_upload_action(string $action, $selected, $dir, $props, &$arr)
|
||||
{
|
||||
Api\Translation::add_app('filemanager');
|
||||
Translation::add_app('filemanager');
|
||||
$vfs = Vfs::mount();
|
||||
$GLOBALS['egw']->sharing->redo();
|
||||
parent::handle_upload_action($action, $selected, $dir, $props, $arr);
|
||||
|
Loading…
Reference in New Issue
Block a user