X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=maintenance%2Fstorage%2FfixBug20757.php;h=b444f311435152a462c90e613f33ceb7624b2351;hb=02abae3248b9273be6b312aeb9f1cae81a3ac6c0;hp=94335cfd4d32d67c351ce71dbd250244cda015a2;hpb=0aa0a68aa9aac7cebd95a8d9beba55eaf7403432;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' ],