jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/374671 )

Change subject: DB_SLAVE -> DB_REPLICA
......................................................................


DB_SLAVE -> DB_REPLICA

Change-Id: I4fe57b6f30ae63cfffb1346df1814f841df8610c
---
M includes/ApiQueryMapData.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yurik: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/ApiQueryMapData.php b/includes/ApiQueryMapData.php
index 57030c5..0543cd5 100644
--- a/includes/ApiQueryMapData.php
+++ b/includes/ApiQueryMapData.php
@@ -23,7 +23,7 @@
                        return;
                }
 
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_REPLICA );
                $this->addTables( 'page_props' );
                $this->addFields( [ 'pp_page', 'pp_value' ] );
                $this->addWhere( [ 'pp_page' => array_keys( $titles ), 
'pp_propname' => 'kartographer' ] );

-- 
To view, visit https://gerrit.wikimedia.org/r/374671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4fe57b6f30ae63cfffb1346df1814f841df8610c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to