/**
* Get the master DB handle for the current user batch. This is provided for the benefit
* of authentication extensions which subclass this and work with wiki farms.
+ * @return IMaintainableDatabase
*/
protected function getUserDB() {
return $this->getDB( DB_MASTER );
);
}
$this->total += $dbw->affectedRows();
+ MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->waitForReplication();
}
/**
'user',
'user_name',
[
- 'user_name > ' .$dbw->addQuotes( $lastUsername ),
+ 'user_name > ' . $dbw->addQuotes( $lastUsername ),
],
__METHOD__,
[