X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeModuleDeps.php;h=591f7ee74423103de2b280940e74a4ad0c8064dd;hb=dac20d0ffab5a850563d3fb02331a927e42a2bd9;hp=feeeb65b6578f0e35752eed7b2e3c451245e5874;hpb=eb72adcb4e28eedc1806d845355856bd6f97dadb;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeModuleDeps.php b/maintenance/purgeModuleDeps.php index feeeb65b65..591f7ee744 100644 --- a/maintenance/purgeModuleDeps.php +++ b/maintenance/purgeModuleDeps.php @@ -48,7 +48,7 @@ class PurgeModuleDeps 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 );