summaryrefslogtreecommitdiff
path: root/maintenance/gearman/gearman.inc
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/gearman/gearman.inc')
-rw-r--r--maintenance/gearman/gearman.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/gearman/gearman.inc b/maintenance/gearman/gearman.inc
index a2a4018a..514b9bac 100644
--- a/maintenance/gearman/gearman.inc
+++ b/maintenance/gearman/gearman.inc
@@ -12,7 +12,7 @@ class MWGearmanJob extends Net_Gearman_Job_Common {
socket_close( $this->conn );
# Close some more sockets
- wfGetLBFactory()->shutdown();
+ LBFactory::destroyInstance();
global $wgMemc;
$wgMemc->disconnect_all();