forked from extern/egroupware
Register link hooks for all installed apps, not just the ones the current user has access to. This lets the apps decide if the user has access to the data or not
This commit is contained in:
parent
cad3e95d40
commit
041200a245
@ -135,7 +135,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');
|
||||
$search_link_hooks = $GLOBALS['egw']->hooks->process('search_link', array(), true);
|
||||
$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