X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FfixBug20757.php;h=b444f311435152a462c90e613f33ceb7624b2351;hb=aa9d1c91b62fa43dcf47347fb8c4095eeeb760ff;hp=94335cfd4d32d67c351ce71dbd250244cda015a2;hpb=0acba338989197c6c187452dacf5efaa7a5838aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/fixBug20757.php b/maintenance/storage/fixBug20757.php index 94335cfd4d..b444f31143 100644 --- a/maintenance/storage/fixBug20757.php +++ b/maintenance/storage/fixBug20757.php @@ -42,7 +42,7 @@ class FixBug20757 extends Maintenance { } function execute() { - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); $dbw = $this->getDB( DB_MASTER ); $dryRun = $this->getOption( 'dry-run' ); @@ -281,7 +281,7 @@ class FixBug20757 extends Maintenance { unset( $this->mapCache[$key] ); } - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); $map = []; $res = $dbr->select( 'revision', [ 'rev_id', 'rev_text_id' ],