From: Domas Mituzas Date: Sun, 21 Feb 2010 17:03:25 +0000 (+0000) Subject: remove duplicate global definitions X-Git-Tag: 1.31.0-rc.0~37674 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=77d49e1cefcf7088e054ebd372c16c68dc14d510;p=lhc%2Fweb%2Fwiklou.git remove duplicate global definitions --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 2971b9924b..dd36f1b99b 100644 --- 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(