Bug 30778: Remove ModAuthInBatch

1 - git grep ModAuthInBatch
2 - Confirm none of these occurences are calls
3 - Apply patch
4 - git grep ModAuthInBatch
5 - No occurences

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-05-16 19:51:41 +00:00 committed by Tomas Cohen Arazi
parent 46fabf9bb5
commit d07e692823
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -328,20 +328,6 @@ sub AddAuthToBatch {
return $import_record_id;
}
=head2 ModAuthInBatch
ModAuthInBatch($import_record_id, $marc_record);
=cut
sub ModAuthInBatch {
my ($import_record_id, $marc_record) = @_;
my $marcflavour = C4::Context->preference('marcflavour');
_update_import_record_marc($import_record_id, $marc_record, $marcflavour eq 'UNIMARC' ? 'UNIMARCAUTH' : 'USMARC');
}
=head2 BatchStageMarcRecords
( $batch_id, $num_records, $num_items, @invalid_records ) =