Call destroy method that actually exists instead of one that doesn't anymore.
[lhc/web/wiklou.git] / includes / ForkController.php
index 2725753..da4cd17 100644 (file)
@@ -150,7 +150,7 @@ class ForkController {
        protected function prepareEnvironment() {
                global $wgMemc;
                // Don't share DB, storage, or memcached connections
-               wfGetLBFactory()->destroyInstance();
+               wfGetLBFactory()->destroy();
                FileBackendGroup::destroySingleton();
                LockManagerGroup::destroySingletons();
                JobQueueGroup::destroySingletons();