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:
Nathan Gray 2010-05-10 19:05:17 +00:00
parent cad3e95d40
commit 041200a245

View File

@ -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))