[Tickets #6493] _prefs_hook_fullname not working

bugs at horde.org bugs at horde.org
Mon Mar 17 21:40:57 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6493
-----------------------------------------------------------------------
 Ticket             | 6493
 Created By         | liamr at umich.edu
 Summary            | _prefs_hook_fullname not working
 Queue              | Horde Base
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


liamr at umich.edu (2008-03-17 17:40) wrote:

I've tried deleting both my fullname and identities preferences, and I
can't get _prefs_hook_fullname() to invoke.  I added a call to
Horde::logMessage(), and don't see anything in the horde log.

I was originally trying the LDAP backed one example (modified for our ldap
server), but am currently trying..

if (!function_exists('_prefs_hook_fullname')) {
    function _prefs_hook_fullname($user = null)
    {
        $name = "Joe User";
        Horde::logMessage($name, __FILE__, __LINE__, LOG_DEBUG);
        return (empty($name) ? $user : $name);
    }
}

thinking that should set everyone's name to "Joe User" provided fullname
isn't set for them yet.




More information about the bugs mailing list