Index: trunk/phase3/maintenance/tests/ApiWatchTest.php |
— | — | @@ -95,7 +95,6 @@ |
96 | 96 | * @depends testWatchEdit |
97 | 97 | */ |
98 | 98 | function testWatchClear( $data ) { |
99 | | - global $wgUser; |
100 | 99 | $data = $this->doApiRequest( array( |
101 | 100 | 'action' => 'query', |
102 | 101 | 'list' => 'watchlist' ), $data ); |
Index: trunk/phase3/maintenance/language/StatOutputs.php |
— | — | @@ -31,7 +31,6 @@ |
32 | 32 | /** Outputs WikiText */ |
33 | 33 | class wikiStatsOutput extends statsOutput { |
34 | 34 | function heading() { |
35 | | - global $IP; |
36 | 35 | $version = SpecialVersion::getVersion( 'nodb' ); |
37 | 36 | echo "'''Statistics are based on:''' <code>" . $version . "</code>\n\n"; |
38 | 37 | echo "'''Note:''' These statistics can be generated by running <code>php maintenance/language/transstat.php</code>.\n\n"; |