Introduced Maintenance::getDB() and corresponding setDB() to control externally what...
[lhc/web/wiklou.git] / includes / installer / DatabaseUpdater.php
index 01ff690..c931e34 100644 (file)
@@ -65,6 +65,7 @@ abstract class DatabaseUpdater {
                } else {
                        $this->maintenance = new FakeMaintenance;
                }
+               $maintenance->setDB( $db );
                $this->initOldGlobals();
                wfRunHooks( 'LoadExtensionSchemaUpdates', array( $this ) );
        }