X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcopyJobQueue.php;h=08e40fd6485587b7144513f24b8df16d19cdcfa7;hb=99eb73c32ed9b9a7f7b92e71f09fcee197006b57;hp=e1d697d88de91a7dd5963424acd716215ebd78ef;hpb=4b73a8b6fbb6da651af850a7d667e6e8d59e6fce;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/copyJobQueue.php b/maintenance/copyJobQueue.php index e1d697d88d..08e40fd648 100644 --- a/maintenance/copyJobQueue.php +++ b/maintenance/copyJobQueue.php @@ -77,7 +77,7 @@ class CopyJobQueue extends Maintenance { foreach ( $jobs as $job ) { ++$total; $batch[] = $job; - if ( count( $batch ) >= $this->mBatchSize ) { + if ( count( $batch ) >= $this->getBatchSize() ) { $dst->push( $batch ); $totalOK += count( $batch ); $batch = [];