mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-09-23 10:21:45 +00:00
Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA )
Change-Id: Ib0fadf7b2f3ca30eb34822a2883107fa60a6f004
This commit is contained in:
parent
4b4dff0791
commit
5769ac4966
|
@ -23,7 +23,7 @@ class ValidateTemplateData extends Maintenance {
|
|||
}
|
||||
|
||||
public function execute() {
|
||||
$db = $this->getDB( DB_REPLICA );
|
||||
$db = $this->getReplicaDB();
|
||||
|
||||
$lastId = 0;
|
||||
$rowsChecked = 0;
|
||||
|
|
Loading…
Reference in a new issue