session::create also overwrites link-registry, therefore we need to call Link::init_static in after_login too

This commit is contained in:
Ralf Becker 2020-10-08 11:01:57 +02:00
parent 1f4c6d4f51
commit 317604a4e1

View File

@ -222,6 +222,10 @@ class Sharing extends \EGroupware\Api\Sharing
{ {
$GLOBALS['egw_info']['user']['apps']['collabora'] = $GLOBALS['egw_info']['apps']['collabora']; $GLOBALS['egw_info']['user']['apps']['collabora'] = $GLOBALS['egw_info']['apps']['collabora'];
} }
// session::create also overwrites link-registry
Vfs::clearstatcache();
// clear link-cache and load link registry without permission check to access /apps
Api\Link::init_static(true);
} }
/** /**