No permission check when initializing link hooks for during asyncronous processing.

Fixes missing links in notifications.
This commit is contained in:
Nathan Gray 2014-06-11 17:30:44 +00:00
parent da0cb798e5
commit 80962c1963

View File

@ -173,7 +173,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(), boolval($GLOBALS['egw_info']['flags']['async-service']));
$GLOBALS['egw']->session->appsession('search_link_hooks','phpgwapi',$search_link_hooks);
}
if (is_array($search_link_hooks))