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 <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:50:20 +00:00 committed by Tomas Cohen Arazi
parent 3b0505247a
commit 46fabf9bb5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -54,7 +54,6 @@ BEGIN {
AddBiblioToBatch AddBiblioToBatch
AddItemsToImportBiblio AddItemsToImportBiblio
ModAuthorityInBatch ModAuthorityInBatch
ModBiblioInBatch
BatchStageMarcRecords BatchStageMarcRecords
BatchFindDuplicates BatchFindDuplicates
@ -306,20 +305,6 @@ sub AddBiblioToBatch {
return $import_record_id; 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 =head2 AddAuthToBatch
my $import_record_id = AddAuthToBatch($batch_id, $record_sequence, my $import_record_id = AddAuthToBatch($batch_id, $record_sequence,