*/
class BatchRowWriter {
/**
- * @var DatabaseBase $db The database to write to
+ * @var IDatabase $db The database to write to
*/
protected $db;
}
$this->db->commit();
- wfWaitForSlaves( false, false, $this->clusterName );
+ wfGetLBFactory()->waitForReplication();
}
}