Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA )

Change-Id: Ib0fadf7b2f3ca30eb34822a2883107fa60a6f004
This commit is contained in:
Fomafix 2024-06-07 09:05:08 +00:00
parent 4b4dff0791
commit 5769ac4966

View file

@ -23,7 +23,7 @@ class ValidateTemplateData extends Maintenance {
}
public function execute() {
$db = $this->getDB( DB_REPLICA );
$db = $this->getReplicaDB();
$lastId = 0;
$rowsChecked = 0;