Merge "$wgContLang global unused in addNewUserLogEntry since b65893755"
[lhc/web/wiklou.git] / includes / User.php
index 86fb8f8..9a60aa9 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
                }