remove duplicate global definitions
This commit is contained in:
parent
13f64719b7
commit
77d49e1cef
1 changed files with 0 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue