ArielGlenn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311389

Change subject: use DB_REPLICA now that DB_SLAVE is deprecated
......................................................................

use DB_REPLICA now that DB_SLAVE is deprecated

Change-Id: Ibfb0e82196dc775fae66119e7b0edd89eac2eb42
---
M AbstractFilter.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ActiveAbstract 
refs/changes/89/311389/1

diff --git a/AbstractFilter.php b/AbstractFilter.php
index b433cee..2c00a6b 100644
--- a/AbstractFilter.php
+++ b/AbstractFilter.php
@@ -238,7 +238,7 @@
         */
        protected function categoryLinks( $rev ) {
                $id = $rev->page_id;
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_REPLICA );
                $result = $dbr->select( 'categorylinks',
                        [ 'cl_to' ],
                        [ 'cl_from' => $id ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfb0e82196dc775fae66119e7b0edd89eac2eb42
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ActiveAbstract
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <ar...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to