X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupInvalidDbKeys.php;h=54ed3aad1ff63bc91d6d0b3d86f84836818633c2;hb=228d796b1d6299ccd39418e85f40437292b47dd4;hp=b487f896cab38457c73452ddf0bed367b2beee22;hpb=c7a997a3789035d66995eff716b80aec783f9acd;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;