Index: trunk/phase3/includes/specials/SpecialImport.php |
— | — | @@ -58,7 +58,6 @@ |
59 | 59 | $this->outputHeader(); |
60 | 60 | |
61 | 61 | if ( wfReadOnly() ) { |
62 | | - global $wgOut; |
63 | 62 | $wgOut->readOnlyPage(); |
64 | 63 | return; |
65 | 64 | } |
Index: trunk/phase3/includes/specials/SpecialEditWatchlist.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | * @param $mode int |
33 | 33 | */ |
34 | 34 | public function execute( $mode ) { |
35 | | - global $wgUser, $wgLang, $wgOut, $wgRequest; |
| 35 | + global $wgUser, $wgOut, $wgRequest; |
36 | 36 | if( wfReadOnly() ) { |
37 | 37 | $wgOut->readOnlyPage(); |
38 | 38 | return; |