Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -741,7 +741,7 @@ |
742 | 742 | * @return bool |
743 | 743 | */ |
744 | 744 | private function showList( $result ) { |
745 | | - global $wgLang, $wgUser, $wgOut; |
| 745 | + global $wgLang, $wgOut; |
746 | 746 | |
747 | 747 | if( $result->numRows() == 0 ) { |
748 | 748 | $wgOut->addWikiMsg( 'undelete-no-results' ); |
Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -1179,7 +1179,6 @@ |
1180 | 1180 | * @param $lang Language code |
1181 | 1181 | */ |
1182 | 1182 | function makeLanguageSelectorLink( $text, $lang ) { |
1183 | | - global $wgUser; |
1184 | 1183 | $self = SpecialPage::getTitleFor( 'Userlogin' ); |
1185 | 1184 | $attr = array( 'uselang' => $lang ); |
1186 | 1185 | if( $this->mType == 'signup' ) { |
Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -786,7 +786,7 @@ |
787 | 787 | * @param $defaultPreferences Array |
788 | 788 | */ |
789 | 789 | static function rcPreferences( $user, &$defaultPreferences ) { |
790 | | - global $wgRCMaxAge, $wgUseRCPatrol, $wgLang; |
| 790 | + global $wgRCMaxAge, $wgLang; |
791 | 791 | |
792 | 792 | ## RecentChanges ##################################### |
793 | 793 | $defaultPreferences['rcdays'] = array( |