Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -2011,7 +2011,7 @@ |
2012 | 2012 | $watchlist = SpecialPage::getTitleFor( 'Watchlist' ); |
2013 | 2013 | $recentchanges = SpecialPage::getTitleFor( 'Recentchanges' ); |
2014 | 2014 | if ( $wgTitle->equals( $watchlist ) || $wgTitle->equals( $recentchanges ) ) { |
2015 | | - $dbr = wfGetDB( DB_SLAVE ); |
| 2015 | + $dbr = wfGetDB( DB_SLAVE, 'watchlist' ); |
2016 | 2016 | $watchedOutdated = $dbr->selectField( |
2017 | 2017 | array( 'watchlist', 'page', 'flaggedpages' ), |
2018 | 2018 | '1', // existence |