X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryWatchlist.php;h=c30f0cf4675bce757f8c3197738f2c50b9ea8f83;hb=e32c90885748acd9f2b582a265cc485cd4da961f;hp=e2599d1d8ed07d6c6af0d507ed87017ece9323a1;hpb=ed26b953fddc44931841c898e10a71ad0d7280c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index e2599d1d8e..c30f0cf467 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -57,7 +57,7 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase { * @return void */ private function run( $resultPageSet = null ) { - $this->selectNamedDB( 'watchlist', DB_SLAVE, 'watchlist' ); + $this->selectNamedDB( 'watchlist', DB_REPLICA, 'watchlist' ); $params = $this->extractRequestParams();