aboutsummaryrefslogtreecommitdiffstats
path: root/includes/utils/BatchRowWriter.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/utils/BatchRowWriter.php')
-rw-r--r--includes/utils/BatchRowWriter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/utils/BatchRowWriter.php b/includes/utils/BatchRowWriter.php
index 13cab5bd2b68..ffb7053b383f 100644
--- a/includes/utils/BatchRowWriter.php
+++ b/includes/utils/BatchRowWriter.php
@@ -66,6 +66,6 @@ class BatchRowWriter {
}
$this->db->commit();
- wfWaitForSlaves( false, false, $this->clusterName );
+ wfGetLBFactory()->waitForReplication();
}
}