aboutsummaryrefslogtreecommitdiffstats
path: root/includes/utils/BatchRowWriter.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2016-01-20 09:23:46 -0800
committerTim Starling <tstarling@wikimedia.org>2016-01-28 03:00:08 +0000
commit3a15ecebea7c560e01f81b7145f2cc32bb167c5f (patch)
treea64d58c8a23fa09f3ec170ef18e2da8e2e5a1af2 /includes/utils/BatchRowWriter.php
parent964e47251a5c917bfb868b099039c2d0ddb4efdf (diff)
downloadmediawikicore-3a15ecebea7c560e01f81b7145f2cc32bb167c5f.tar.gz
mediawikicore-3a15ecebea7c560e01f81b7145f2cc32bb167c5f.zip
Migrate callers to waitForReplication()
Change-Id: I7b2b13b9315891561d2d8cc04a12ecad2dc73d70
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();
}
}