From 987629dfec534448c6abc9ca0411b040a1ac7468 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 4 Aug 2007 16:36:25 +0000 Subject: [PATCH] update prototype --- includes/AuthPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. } -- 2.20.1