dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduced Maintenance::getDB() and corresponding setDB() to control externally what...
[lhc/web/wiklou.git]
/
includes
/
installer
/
DatabaseUpdater.php
diff --git
a/includes/installer/DatabaseUpdater.php
b/includes/installer/DatabaseUpdater.php
index
01ff690
..
c931e34
100644
(file)
--- a/
includes/installer/DatabaseUpdater.php
+++ b/
includes/installer/DatabaseUpdater.php
@@
-65,6
+65,7
@@
abstract class DatabaseUpdater {
} else {
$this->maintenance = new FakeMaintenance;
}
+ $maintenance->setDB( $db );
$this->initOldGlobals();
wfRunHooks( 'LoadExtensionSchemaUpdates', array( $this ) );
}