[kronolith] Default external calendar
Jan Schneider
jan at horde.org
Tue Feb 14 14:37:27 UTC 2012
Zitat von Martin Hochreiter <linuxbox at wavenet.at>:
>> You cannot simply replace strings in the value copied from the
>> database, because it is a serialized hash. Using $registry in
>> prefs.local.php is not a good idea either.
>> Instead you should create a preference hook that builds the hash,
>> and return it serialized.
>>
> what a pitty :) ... ok, thank you I will create a hook for that
> (new world for me...)
> What should I use instead of the $registry variable to get the
> credentials - or is it ok
> to use it in the hooks?
The prefs_init hook already gets the user name passed.
--
The Horde Project
http://www.horde.org/
More information about the kronolith
mailing list