From: Platonides Date: Sun, 25 Jul 2010 17:48:48 +0000 (+0000) Subject: $wgLang is already marked as global at the top. X-Git-Tag: 1.31.0-rc.0~35949 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=2a178974849f52dd5bee4d8ffe6721bb99e34078;p=lhc%2Fweb%2Fwiklou.git $wgLang is already marked as global at the top. --- diff --git a/includes/Preferences.php b/includes/Preferences.php index bd7511a9b3..60ba20f191 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -471,8 +471,6 @@ class Preferences { $selectedSkin = $user->getOption( 'skin' ); if ( in_array( $selectedSkin, array( 'cologneblue', 'standard' ) ) ) { - global $wgLang; - $settings = array_flip( $wgLang->getQuickbarSettings() ); $defaultPreferences['quickbar'] = array(