[imp] Problem with hook _prefs_hook_from_addr

Jan Schneider jan at horde.org
Fri Feb 15 10:16:20 UTC 2008


Zitat von alois blasbichler <alois.blasbichler at sb-brixen.it>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Andrea Soracchi <soracchi at netbuilder.it>:
>>
>>> Hi,
>>> How can I check?
>>
>> How *did* you check it initially? You said it was always empty! You
>> could log the value with Horde::logMessage().
>
> Hello
>
> I have exactly the same problem. How do i log this value ?
> Where i have to write  Horde::logMessage() ? In hooks.php or in conf.php ?
> And how ?  Maybe :   horde::logMessage(_prefs_hook_from_addr)

http://dev.horde.org/api/framework/Horde_Framework/Horde.html#logMessage

You probably want to log the $user variable, so something along:

Horde::logMessage($user, __FILE__, __LINE__);

Jan.

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



More information about the imp mailing list