jenkins-bot has submitted this change and it was merged. Change subject: Made getWatchlistInfo use DB_SLAVE ......................................................................
Made getWatchlistInfo use DB_SLAVE Bug: T92357 Change-Id: I3b7d5d20d3028e15651dbca453a8bc47010b8194 --- M includes/specials/SpecialEditWatchlist.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Gilles: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index ffe7892..910fe25 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -344,7 +344,7 @@ */ protected function getWatchlistInfo() { $titles = array(); - $dbr = wfGetDB( DB_MASTER ); + $dbr = wfGetDB( DB_SLAVE ); $res = $dbr->select( array( 'watchlist' ), -- To view, visit https://gerrit.wikimedia.org/r/202252 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3b7d5d20d3028e15651dbca453a8bc47010b8194 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Gilles <gdu...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits