diff options
Diffstat (limited to 'includes/AuthPlugin.php')
-rw-r--r-- | includes/AuthPlugin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/AuthPlugin.php b/includes/AuthPlugin.php index 9395032f..87a79438 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. } @@ -234,4 +235,4 @@ class AuthPlugin { } } -?> + |