Fix using not intentional streamWrapper when registering filemanager editor links

This commit is contained in:
Hadi Nategh 2017-11-20 16:48:52 +01:00
parent 3f3154ead4
commit a599a85ab4

View File

@ -314,7 +314,7 @@ class filemanager_hooks
foreach ($implemented as $app)
{
if ( \EGroupware\Stylite\Vfs\Links\StreamWrapper::check_app_rights($app) &&
if ( \EGroupware\Api\Vfs\Links\StreamWrapper::check_app_rights($app) &&
($l = Api\Hooks::process('filemanager-editor-link',$app, true)) && $l[$app])
{
$link = $l[$app];