From: Tim Starling Date: Sat, 20 Sep 2008 05:32:30 +0000 (+0000) Subject: Fix fatal error, addNewUserLogEntryAutoCreate is invoked non-statically from CentralA... X-Git-Tag: 1.31.0-rc.0~45206 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=68d860de560e2095b63b0eb4fdc28370ffe57c2d;p=lhc%2Fweb%2Fwiklou.git Fix fatal error, addNewUserLogEntryAutoCreate is invoked non-statically from CentralAuth and uses $this --- diff --git a/includes/User.php b/includes/User.php index dce6d30fa2..5661c015f0 100644 --- a/includes/User.php +++ b/includes/User.php @@ -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