R30098 - /trunk/phpgwapi/inc/class.egw_link.inc.php

Author: nathangray
New Revision: 30098

URL: http://www.egroupware.org/viewvc/egroupware?rev=30098&view=rev
Log:
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

Modified:
trunk/phpgwapi/inc/class.egw_link.inc.php

Modified: trunk/phpgwapi/inc/class.egw_link.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpgwapi/inc/class.egw_link.inc.php?rev=30098&r1=30097&r2=30098&view=diff

— trunk/phpgwapi/inc/class.egw_link.inc.php (original)
+++ trunk/phpgwapi/inc/class.egw_link.inc.php Mon May 10 21:05:17 2010
@@ -135,7 +135,7 @@
// 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))
    


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs