dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fd23ed
)
$wgLang is already marked as global at the top.
author
Platonides
<platonides@users.mediawiki.org>
Sun, 25 Jul 2010 17:48:48 +0000
(17:48 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sun, 25 Jul 2010 17:48:48 +0000
(17:48 +0000)
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
bd7511a
..
60ba20f
100644
(file)
--- 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(