[horde] problems writing a hook, hook called as guest before successfull login?
dom.lalot at gmail.com
Thu Dec 18 14:45:51 UTC 2008
2008/12/18 Jan Schneider <jan at horde.org>
> Zitat von Dominique LALOT <dom.lalot at gmail.com>:
>> I try to write a hook for imp. I wanted to find a way to get
>> search_sources working with localsql in share mode.
>> I did'nt understand why my hook was not working till I discovered that my
>> hook was called as guest before a successfull login. So I try to get
>> addressbooks for guest!
>> What should I do and is it normal? In the log, it appears clearly that imp
>> hook is called before successfull login.
> The hook is called again after the user logged in, but only for users that
> don't have the preference set already.
Yes, Normaly I clean my prefs regularly to avoid side effects. I didn't for
a while and I had a bad value. Cleaning it, it behaves as I want.
How can I send a patch? In the list or via bugs.horde.org?
> If you are successful, please send your hook as a patch against
> Do you need professional PHP or Horde consulting?
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
Ingénieur Systèmes et Réseaux
More information about the horde