From 208851e5ec89677f73ad236c24b2f44d3e154168 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 11 Oct 2016 12:13:10 -0700 Subject: [PATCH] Call destroy method that actually exists instead of one that doesn't anymore. Bug: T147881 Change-Id: Idac48d3c022af60409df37f2b1fcf82af814bdfa --- includes/ForkController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ForkController.php b/includes/ForkController.php index 2725753498..da4cd17dd7 100644 --- a/includes/ForkController.php +++ b/includes/ForkController.php @@ -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(); -- 2.20.1