X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupInvalidDbKeys.php;h=54ed3aad1ff63bc91d6d0b3d86f84836818633c2;hb=8641df974d1a030f7b7fad1e8e45e0f51f9816e1;hp=b487f896cab38457c73452ddf0bed367b2beee22;hpb=e1090009434d4908a37c8bc481fe07e96c5f647f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupInvalidDbKeys.php b/maintenance/cleanupInvalidDbKeys.php index b487f896ca..54ed3aad1f 100644 --- a/maintenance/cleanupInvalidDbKeys.php +++ b/maintenance/cleanupInvalidDbKeys.php @@ -161,7 +161,7 @@ TEXT $titleField . $dbr->buildLike( $percent, '_' ), ], LIST_OR ) ], __METHOD__, - [ 'LIMIT' => $this->mBatchSize ] + [ 'LIMIT' => $this->getBatchSize() ] ); $this->outputStatus( "Number of invalid rows: " . $res->numRows() . "\n" ); @@ -307,5 +307,5 @@ TEXT } } -$maintClass = 'CleanupInvalidDbKeys'; +$maintClass = CleanupInvalidDbKeys::class; require_once RUN_MAINTENANCE_IF_MAIN;