From: Platonides Date: Fri, 25 Jan 2013 21:33:12 +0000 (+0100) Subject: $wgContLang global unused in addNewUserLogEntry since b65893755 X-Git-Tag: 1.31.0-rc.0~20908^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=dbc953fab7942b7b44c0ec135ceaa193ee384956;p=lhc%2Fweb%2Fwiklou.git $wgContLang global unused in addNewUserLogEntry since b65893755 Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754 --- 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 }