[horde] horde_hook_postauthenticate called after logout

Jan Schneider jan at horde.org
Fri Jun 13 08:21:27 UTC 2008


Zitat von "Michael Menge" <michael.menge at zdv.uni-tuebingen.de>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> Quoting "Michael Menge" <michael.menge at zdv.uni-tuebingen.de>:
>>
>>> i don't know if its a bug or a feature but horde_hook_postauthenticate
>>> is called on logout. Is there a way to fiugre out if the function is
>>> called on login or logout ? We use Horde 3.2
>>
>> I'm not seeing how this can happen; if it is happening it's definitely
>> a bug. You can log the output of print_r(debug_backtrace(true))
>> (warning, it'll be pretty big) to see the call chain of how it's
>> getting there.
>>
>
> Is there a way to redirect the output of print_r to a file?
> I see only one output in the sidebar, but the logs show the hook is   
> called multiple times (2 times on login and some extra calls during   
>  normal using of Horde).

Horde::logMessage(print_r(), __FILE__, __LINE__)

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list