[horde] pref hooks

Kevin Conley kevinconley at northwestern.edu
Wed Feb 7 20:56:21 PST 2007


According to the hooks.php file...

  * NOTE 2: Preferences hooks are ONLY executed on login. Preferences are
  * cached during a users session and, to avoid unnecessary overhead every time
  * a preference is accessed, the results of hooks are cached as well. This
  * leads to ...

However, i put a Horde::logMessage in the _prefs_hook_fullname and 
_prefs_hook_from_addr functions and checked the log - it seems the pref hooks 
are being called twice before a "Login success" and three times after a "Logout".

Is this right? I thought the pref hooks were only executed on login - why does 
it look like it is being called more?


-- 
Kevin Conley	
Technology Support Services
Northwestern University
847-491-4086



More information about the horde mailing list