X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateArticleCount.php;h=213195df0f42fb8161b363607f4d8e46e8a60ea3;hb=4ce7d8a4cd2c9893102634e820cf7f6349244259;hp=dff5aec8e469e60e4cb54356bbd226409c2d9862;hpb=2f885ee6b797e5a176ce7b270b674a04b5945b06;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateArticleCount.php b/maintenance/updateArticleCount.php index dff5aec8e4..213195df0f 100644 --- a/maintenance/updateArticleCount.php +++ b/maintenance/updateArticleCount.php @@ -46,7 +46,7 @@ class UpdateArticleCount extends Maintenance { if ( $this->hasOption( 'use-master' ) ) { $dbr = $this->getDB( DB_MASTER ); } else { - $dbr = $this->getDB( DB_SLAVE, 'vslow' ); + $dbr = $this->getDB( DB_REPLICA, 'vslow' ); } $counter = new SiteStatsInit( $dbr ); $result = $counter->articles();