Index: trunk/tools/code-utils/check-vars.php |
— | — | @@ -168,7 +168,6 @@ |
169 | 169 | } |
170 | 170 | |
171 | 171 | protected static $mGlobalsPerFile = array( # Variables which are OK, but only on a few files |
172 | | - '$wgCaches' => array( 'ObjectCache.php', 'phpunit', 'ForkController.php' ), |
173 | 172 | '$wgDatabase' => array( 'updaters.inc', 'Installer.php', 'install-utils.inc', 'update.php', 'SqliteInstaller.php' ), # For update scripts |
174 | 173 | '$wgHtmlEntities' => array( 'Sanitizer.php' ), |
175 | 174 | '$wgHtmlEntityAliases' => array( 'Sanitizer.php' ), |
— | — | @@ -178,8 +177,6 @@ |
179 | 178 | '$wgDatabase' => array( 'DatabaseUpdater.php' ), |
180 | 179 | '$wgExtPGNewFields' => array( 'DatabaseUpdater.php', 'PostgresUpdater.php' ), |
181 | 180 | '$wgExtPGAlteredFields' => array( 'DatabaseUpdater.php', 'PostgresUpdater.php' ), |
182 | | - '$errs' => array( 'Installer.php' ), |
183 | | - '$mainListOpened' => array( 'Installer.php' ), |
184 | 181 | '$optionsWithArgs' => array( 'commandLine.inc' ), |
185 | 182 | '$args' => array( 'commandLine.inc' ), |
186 | 183 | '$options' => array( 'commandLine.inc', 'upgrade1_5.php' ), |