mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Pay attention to user application permissions when going through link registry.
Fixes not available applications registering conflicting mimes with allowed applications.
This commit is contained in:
parent
cb8b279e94
commit
16c922c199
@ -170,7 +170,7 @@ class egw_link extends solink
|
||||
// for performance reasons, we do it only once / cache it in the session
|
||||
if (!($search_link_hooks = $GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi')))
|
||||
{
|
||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link', array(), true);
|
||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link');
|
||||
$GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks);
|
||||
}
|
||||
if (is_array($search_link_hooks))
|
||||
|
Loading…
Reference in New Issue
Block a user