@@ -, +, @@ --- Koha/BackgroundJob/BatchUpdateAuthority.pm | 5 +---- Koha/BackgroundJob/BatchUpdateBiblio.pm | 5 +---- tools/batch_record_modification.pl | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) --- a/Koha/BackgroundJob/BatchUpdateAuthority.pm +++ a/Koha/BackgroundJob/BatchUpdateAuthority.pm @@ -31,7 +31,6 @@ sub process { ->store; my $mmtid = $args->{mmtid}; - my $record_type = $args->{record_type}; my @record_ids = @{ $args->{record_ids} }; my $report = { @@ -85,16 +84,14 @@ sub enqueue { # TODO Raise exception instead return unless exists $args->{mmtid}; - return unless exists $args->{record_type}; #FIXME RMME return unless exists $args->{record_ids}; my $mmtid = $args->{mmtid}; - my $record_type = $args->{record_type}; my @record_ids = @{ $args->{record_ids} }; $self->SUPER::enqueue({ job_size => scalar @record_ids, - job_args => {mmtid => $mmtid, record_type => $record_type, record_ids => \@record_ids,} + job_args => {mmtid => $mmtid, record_ids => \@record_ids,} }); } --- a/Koha/BackgroundJob/BatchUpdateBiblio.pm +++ a/Koha/BackgroundJob/BatchUpdateBiblio.pm @@ -35,7 +35,6 @@ sub process { ->store; my $mmtid = $args->{mmtid}; - my $record_type = $args->{record_type}; my @record_ids = @{ $args->{record_ids} }; my $report = { @@ -91,16 +90,14 @@ sub enqueue { # TODO Raise exception instead return unless exists $args->{mmtid}; - return unless exists $args->{record_type}; #FIXME RMME return unless exists $args->{record_ids}; my $mmtid = $args->{mmtid}; - my $record_type = $args->{record_type}; my @record_ids = @{ $args->{record_ids} }; $self->SUPER::enqueue({ job_size => scalar @record_ids, - job_args => {mmtid => $mmtid, record_type => $record_type, record_ids => \@record_ids,} + job_args => {mmtid => $mmtid, record_ids => \@record_ids,} }); } --- a/tools/batch_record_modification.pl +++ a/tools/batch_record_modification.pl @@ -152,7 +152,6 @@ if ( $op eq 'form' ) { try { my $params = { mmtid => $mmtid, - record_type => $recordtype, record_ids => \@record_ids, }; --