dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4c7f12f
)
Merge "Localisation updates from https://translatewiki.net."
author
L10n-bot
<l10n-bot@translatewiki.net>
Tue, 11 Oct 2016 20:13:18 +0000
(20:13 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 11 Oct 2016 20:13:18 +0000
(20:13 +0000)
includes/ForkController.php
patch
|
blob
|
history
diff --git
a/includes/ForkController.php
b/includes/ForkController.php
index
da4cd17
..
2dde17b
100644
(file)
--- a/
includes/ForkController.php
+++ b/
includes/ForkController.php
@@
-19,6
+19,7
@@
*
* @file
*/
+use MediaWiki\MediaWikiServices;
/**
* Class for managing forking command line scripts.
@@
-150,7
+151,7
@@
class ForkController {
protected function prepareEnvironment() {
global $wgMemc;
// Don't share DB, storage, or memcached connections
-
wfGetLBFactory()->destroy
();
+
MediaWikiServices::resetChildProcessServices
();
FileBackendGroup::destroySingleton();
LockManagerGroup::destroySingletons();
JobQueueGroup::destroySingletons();