From d9a939c2203e541be8b25372779ff0b17af266d6 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 46fabf9bb52375db38268031ca9409a734fe7ce0) Signed-off-by: Lucas Gass --- C4/ImportBatch.pm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index a6c9502c66..7c40871665 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.39.5