From: Stanislav Malyshev Date: Tue, 11 Oct 2016 19:13:10 +0000 (-0700) Subject: Call destroy method that actually exists instead of one that doesn't anymore. X-Git-Tag: 1.31.0-rc.0~5146 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=208851e5ec89677f73ad236c24b2f44d3e154168;p=lhc%2Fweb%2Fwiklou.git Call destroy method that actually exists instead of one that doesn't anymore. Bug: T147881 Change-Id: Idac48d3c022af60409df37f2b1fcf82af814bdfa --- 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();