X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixUserRegistration.php;h=30364c655babf7c23cb3981f17dba2560629d0dd;hb=689acef53fb969b9985743c821320724e13e7704;hp=37fd44fb2e11eb6bc17c8a84499547026090b438;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixUserRegistration.php b/maintenance/fixUserRegistration.php index 37fd44fb2e..30364c655b 100644 --- a/maintenance/fixUserRegistration.php +++ b/maintenance/fixUserRegistration.php @@ -51,7 +51,7 @@ class FixUserRegistration extends Maintenance { ], __METHOD__, [ - 'LIMIT' => $this->mBatchSize, + 'LIMIT' => $this->getBatchSize(), 'ORDER BY' => 'user_id', ] ); @@ -83,7 +83,7 @@ class FixUserRegistration extends Maintenance { $this->output( "Waiting for replica DBs..." ); wfWaitForSlaves(); $this->output( " done.\n" ); - } while ( $res->numRows() >= $this->mBatchSize ); + } while ( $res->numRows() >= $this->getBatchSize() ); } }