From 5769ac496654836a5d8d8b76d20352a53a3937a7 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Fri, 7 Jun 2024 09:05:08 +0000 Subject: [PATCH] Use $this->getReplicaDB() instead of $this->getDB( DB_REPLICA ) Change-Id: Ib0fadf7b2f3ca30eb34822a2883107fa60a6f004 --- maintenance/validateTemplateData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/validateTemplateData.php b/maintenance/validateTemplateData.php index efc3902c..06556433 100644 --- a/maintenance/validateTemplateData.php +++ b/maintenance/validateTemplateData.php @@ -23,7 +23,7 @@ class ValidateTemplateData extends Maintenance { } public function execute() { - $db = $this->getDB( DB_REPLICA ); + $db = $this->getReplicaDB(); $lastId = 0; $rowsChecked = 0;