Fixed E_STRICT for CentralAuth extension
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 27 Mar 2008 14:03:22 +0000 (14:03 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 27 Mar 2008 14:03:22 +0000 (14:03 +0000)
includes/AuthPlugin.php

index 2ad137e..6c5c7a1 100644 (file)
@@ -230,7 +230,7 @@ class AuthPlugin {
         * @param $autocreate bool True if user is being autocreated on login
         * @public
         */
-       function initUser( $user, $autocreate=false ) {
+       function initUser( &$user, $autocreate=false ) {
                # Override this to do something.
        }