diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 2fb22c64fd..0cfd132edf 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -520,10 +520,7 @@ sub BatchFindDuplicates { overlay_framework => $overlay_framework, progress_interval => $progress_interval, progress_callback => $progress_callback, - skip_intermediate_commit => $skip_intermediate_commit }); - - Parameter skip_intermediate_commit does what is says. =cut sub BatchCommitRecords { @@ -531,7 +528,6 @@ sub BatchCommitRecords { my $batch_id = $params->{batch_id}; my $framework = $params->{framework}; my $overlay_framework = $params->{overlay_framework}; - my $skip_intermediate_commit = $params->{skip_intermediate_commit}; my $progress_interval = $params->{progress_interval} // 0; my $progress_callback = $params->{progress_callback}; $progress_interval = 0 unless $progress_interval && $progress_interval =~ /^\d+$/; diff --git a/Koha/BackgroundJob/MARCImportCommitBatch.pm b/Koha/BackgroundJob/MARCImportCommitBatch.pm index 22398aef29..d2d45b6070 100644 --- a/Koha/BackgroundJob/MARCImportCommitBatch.pm +++ b/Koha/BackgroundJob/MARCImportCommitBatch.pm @@ -78,7 +78,6 @@ sub process { progress_interval => 50, progress_callback => sub { my $job_progress = shift; $self->progress( $job_progress )->store }, - skip_intermediate_commit => 1, }); my $count = $num_added + $num_updated; if( $count ) {