remove duplicate global definitions

This commit is contained in:
Domas Mituzas 2010-02-21 17:03:25 +00:00
parent 13f64719b7
commit 77d49e1cef

View file

@ -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(