From 3a15ecebea7c560e01f81b7145f2cc32bb167c5f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 20 Jan 2016 09:23:46 -0800 Subject: Migrate callers to waitForReplication() Change-Id: I7b2b13b9315891561d2d8cc04a12ecad2dc73d70 --- includes/utils/BatchRowWriter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/utils/BatchRowWriter.php') 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(); } } -- cgit v1.2.3