From 24f15498fdd145d34b09a4cf513ddb6daf743f36 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 16 May 2022 19:51:41 +0000 Subject: [PATCH] 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 --- C4/ImportBatch.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 071e1c6576..ee47b98811 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -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 ) = -- 2.30.2