From: Brion Vibber Date: Sat, 4 Aug 2007 16:36:25 +0000 (+0000) Subject: update prototype X-Git-Tag: 1.31.0-rc.0~51871 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=987629dfec534448c6abc9ca0411b040a1ac7468;p=lhc%2Fweb%2Fwiklou.git update prototype --- diff --git a/includes/AuthPlugin.php b/includes/AuthPlugin.php index 66cabff26b..87a794380e 100644 --- a/includes/AuthPlugin.php +++ b/includes/AuthPlugin.php @@ -219,9 +219,10 @@ class AuthPlugin { * forget the & on your function declaration. * * @param $user User object. + * @param $autocreate bool True if user is being autocreated on login * @public */ - function initUser( &$user ) { + function initUser( $user, $autocreate=false ) { # Override this to do something. }