X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FfixBug20757.php;h=b444f311435152a462c90e613f33ceb7624b2351;hb=dfcd70a46d7d5086a8a7eb21ab23c10c05c5083d;hp=94335cfd4d32d67c351ce71dbd250244cda015a2;hpb=84154b4b250b626b67f7526bc988bddfeb95baa2;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' ],