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:
13f6471
)
remove duplicate global definitions
author
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 21 Feb 2010 17:03:25 +0000
(17:03 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Sun, 21 Feb 2010 17:03:25 +0000
(17:03 +0000)
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
2971b99
..
dd36f1b
100644
(file)
--- a/
includes/Preferences.php
+++ b/
includes/Preferences.php
@@
-209,7
+209,6
@@
class Preferences {
);
if( $wgAuth->allowPasswordChange() ) {
- global $wgUser; // For skin.
$link = $wgUser->getSkin()->link( SpecialPage::getTitleFor( 'Resetpass' ),
wfMsgHtml( 'prefs-resetpass' ), array(),
array( 'returnto' => SpecialPage::getTitleFor( 'Preferences' ) ) );
@@
-781,7
+780,6
@@
class Preferences {
'section' => 'rc/advancedrc',
);
- global $wgUseRCPatrol;
if( $wgUseRCPatrol ) {
$defaultPreferences['hidepatrolled'] =
array(