X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupRemovedModules.php;h=a6f10c6b397445a99a162a9f9a0645f096f03b50;hb=ee3f8a60ef877efe86ef07e0f96060a0930532c6;hp=dbaf6438c2e3832c950b48b39c62569343a4f2b8;hpb=020739639ad42a1c9f3c13d1bdadb4bb3bca2a2c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupRemovedModules.php b/maintenance/cleanupRemovedModules.php index dbaf6438c2..a6f10c6b39 100644 --- a/maintenance/cleanupRemovedModules.php +++ b/maintenance/cleanupRemovedModules.php @@ -57,7 +57,7 @@ class CleanupRemovedModules extends Maintenance { $modDeps = $dbw->tableName( 'module_deps' ); $i = 1; - foreach ( array_chunk( $rows, $this->mBatchSize ) as $chunk ) { + foreach ( array_chunk( $rows, $this->getBatchSize() ) as $chunk ) { // WHERE ( mod=A AND skin=A ) OR ( mod=A AND skin=B) .. $conds = array_map( function ( stdClass $row ) use ( $dbw ) { return $dbw->makeList( (array)$row, IDatabase::LIST_AND );