forked from extern/egroupware
Add some comment so we know what's going on
This commit is contained in:
parent
c04915ae09
commit
a7593b2f83
@ -116,7 +116,8 @@ class Sharing extends \EGroupware\Api\Sharing
|
|||||||
if (!$keep_session) // do NOT change to else, as we might have set $keep_session=false!
|
if (!$keep_session) // do NOT change to else, as we might have set $keep_session=false!
|
||||||
{
|
{
|
||||||
// only allow filemanager app & collabora
|
// only allow filemanager app & collabora
|
||||||
// (In some cases, $GLOBALS['egw_info']['apps'] is not yet set)
|
// In some cases, $GLOBALS['egw_info']['apps'] is not yet set at all. Set it to app => true, it will be used
|
||||||
|
// in Session->read_repositories() to make sure we get access to these apps when the session loads the apps.
|
||||||
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
|
$apps = $GLOBALS['egw']->acl->get_user_applications($share['share_owner']);
|
||||||
$GLOBALS['egw_info']['user']['apps'] = array(
|
$GLOBALS['egw_info']['user']['apps'] = array(
|
||||||
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] || true,
|
'filemanager' => $GLOBALS['egw_info']['apps']['filemanager'] || true,
|
||||||
|
Loading…
Reference in New Issue
Block a user