Introduced Maintenance::getDB() and corresponding setDB() to control externally what...
authorMax Semenik <maxsem@users.mediawiki.org>
Tue, 24 May 2011 17:48:22 +0000 (17:48 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Tue, 24 May 2011 17:48:22 +0000 (17:48 +0000)
commitc79a16167adc5a6f29aebd44628fdf37c0dede1a
tree3021b7cfe8fb86ebbdd2e1186104789113357a96
parent92dfa87364564e951fc89ee43cf8d9cc312a00f3
Introduced Maintenance::getDB() and corresponding setDB() to control externally what database object should be used by maintenance script. Currently used by updater to avoid DatabaseSqliteTest from running stuff like Populate* on the live database instead of the one used for testing.
includes/GlobalFunctions.php
includes/installer/DatabaseUpdater.php
maintenance/Maintenance.php
maintenance/populateLogSearch.php
maintenance/populateLogUsertext.php
maintenance/populateRevisionLength.php
maintenance/updateCollation.php