From ed5c5b25d5959127ce228ca0c3196b9a7c607032 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 Signed-off-by: David Nind Signed-off-by: Jonathan Druart --- C4/ImportBatch.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 224b9f7a198..264c97b4ce1 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.25.1