$wgContLang global unused in addNewUserLogEntry since b65893755
authorPlatonides <platonides@gmail.com>
Fri, 25 Jan 2013 21:33:12 +0000 (22:33 +0100)
committerPlatonides <platonides@gmail.com>
Fri, 25 Jan 2013 21:35:29 +0000 (22:35 +0100)
Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754

includes/User.php

index ce47110..c5f616e 100644 (file)
@@ -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
                }