Index: trunk/tools/code-utils/check-vars.php |
— | — | @@ -199,13 +199,11 @@ |
200 | 200 | } |
201 | 201 | |
202 | 202 | protected static $mGlobalsPerFile = array( # Variables which are OK, but only on a few files |
203 | | - '$wgDatabase' => array( 'updaters.inc', 'Installer.php', 'install-utils.inc', 'update.php', 'SqliteInstaller.php' ), # For update scripts |
204 | 203 | '$wgHtmlEntities' => array( 'Sanitizer.php' ), |
205 | 204 | '$wgHtmlEntityAliases' => array( 'Sanitizer.php' ), |
206 | 205 | '$wgFullyInitialised' => array( /* Set */ 'Setup.php', /* read */ 'Exception.php' ), |
207 | 206 | '$wgContLanguageCode' => array( 'Setup.php' ), |
208 | 207 | '$wgUseLatin1' => array( 'upgrade1_5.php' ), # If you upgrade from MW < 1.5 it will be there |
209 | | - '$wgDatabase' => array( 'DatabaseUpdater.php' ), |
210 | 208 | '$wgExtPGNewFields' => array( 'DatabaseUpdater.php', 'PostgresUpdater.php' ), |
211 | 209 | '$wgExtPGAlteredFields' => array( 'DatabaseUpdater.php', 'PostgresUpdater.php' ), |
212 | 210 | '$optionsWithArgs' => array( 'commandLine.inc' ), |