From dbc953fab7942b7b44c0ec135ceaa193ee384956 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 25 Jan 2013 22:33:12 +0100 Subject: [PATCH] $wgContLang global unused in addNewUserLogEntry since b65893755 Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754 --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index ce47110273..c5f616eda4 100644 --- a/includes/User.php +++ b/includes/User.php @@ -4237,7 +4237,7 @@ class User { * @return int|bool True if not $wgNewUserLog; otherwise ID of log item or 0 on failure */ public function addNewUserLogEntry( $action = false, $reason = '' ) { - global $wgUser, $wgContLang, $wgNewUserLog; + global $wgUser, $wgNewUserLog; if( empty( $wgNewUserLog ) ) { return true; // disabled } -- 2.20.1