X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategoryFinder.php;h=4efa2ff84ca2e014d72ee557e6f21506180532c2;hb=08f0a91371e5e1c13a7357635c1094f899473645;hp=3d5e6c58ab8acacd25303b88277bc2b6675938b0;hpb=9a7d6ef88c95b9819e4e11df5e17571957eaf9fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CategoryFinder.php b/includes/CategoryFinder.php index 3d5e6c58ab..4efa2ff84c 100644 --- a/includes/CategoryFinder.php +++ b/includes/CategoryFinder.php @@ -64,7 +64,7 @@ class CategoryFinder { /** @var string "AND" or "OR" */ protected $mode; - /** @var IDatabase Read-DB slave */ + /** @var IDatabase Read-DB replica DB */ protected $dbr; /** @@ -96,7 +96,7 @@ class CategoryFinder { * @return array Array of page_ids (those given to seed() that match the conditions) */ public function run() { - $this->dbr = wfGetDB( DB_SLAVE ); + $this->dbr = wfGetDB( DB_REPLICA ); while ( count( $this->next ) > 0 ) { $this->scanNextLayer(); }