From ea8f0f3afffc9796f573199245fd5b6ddeea2aff Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 16 May 2022 19:50:20 +0000 Subject: [PATCH] Bug 30778: Remove ModBiblioInBatch To test: 1 - git grep ModBiblioInBatch 2 - Confirm these occurences are not calls 3 - Apply patch 4 - git grep ModBiblioInBatch 5 - No occurences Signed-off-by: David Nind Signed-off-by: Jonathan Druart --- C4/ImportBatch.pm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 845caa3b589..224b9f7a198 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -54,7 +54,6 @@ BEGIN { AddBiblioToBatch AddItemsToImportBiblio ModAuthorityInBatch - ModBiblioInBatch BatchStageMarcRecords BatchFindDuplicates @@ -306,20 +305,6 @@ sub AddBiblioToBatch { return $import_record_id; } -=head2 ModBiblioInBatch - - ModBiblioInBatch($import_record_id, $marc_record); - -=cut - -sub ModBiblioInBatch { - my ($import_record_id, $marc_record) = @_; - - _update_import_record_marc($import_record_id, $marc_record, C4::Context->preference('marcflavour')); - _update_biblio_fields($import_record_id, $marc_record); - -} - =head2 AddAuthToBatch my $import_record_id = AddAuthToBatch($batch_id, $record_sequence, -- 2.25.1