[horde] Hook functions

Eric Rostetter eric.rostetter at physics.utexas.edu
Thu Jul 7 19:56:28 PDT 2005


Quoting Jorge Minassian <jorge at minassian.net>:

> Hi !,
> 
> Could you please give some ad, or where read from, info about how to use
> hooks funtions ?.

Off the top of my head, so it may be wrong, try something like the following
in hooks.php:

if (!function_exists('_passwd_hook_default_username')) {
    function _passwd_hook_default_username($userid) {
        return Auth::getAuth();
     }
}

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin
 
Why get even? Get odd!


More information about the horde mailing list