Fix fatal error, addNewUserLogEntryAutoCreate is invoked non-statically from CentralA...
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Sep 2008 05:32:30 +0000 (05:32 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Sep 2008 05:32:30 +0000 (05:32 +0000)
includes/User.php

index dce6d30..5661c01 100644 (file)
@@ -3221,7 +3221,7 @@ class User {
         * Add an autocreate newuser log entry for this user
         * Used by things like CentralAuth and perhaps other authplugins.
         */
-       public static function addNewUserLogEntryAutoCreate() {
+       public function addNewUserLogEntryAutoCreate() {
                global $wgNewUserLog;
                if( empty($wgNewUserLog) ) {
                        return true; // disabled