From 68d860de560e2095b63b0eb4fdc28370ffe57c2d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 20 Sep 2008 05:32:30 +0000 Subject: [PATCH] Fix fatal error, addNewUserLogEntryAutoCreate is invoked non-statically from CentralAuth and uses $this --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1