[horde] only first initialization of preferences via hooks

Michael M Slusarz slusarz at horde.org
Tue Mar 4 16:55:48 UTC 2014


Quoting Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:

> how do I initialize preferences of users via hooks, but then keep my  
> hands off them for later logins? I use: horde 5.1.5 stable

Explicitly save the value to the prefs backend - $prefs->setValue() -  
before returning the value from the hook.

michael
-- 

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list