Bugzilla – Attachment 135068 Details for
Bug 30778
ModBiblioInBatch is not used and can be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30778: Remove ModAuthInBatch
Bug-30778-Remove-ModAuthInBatch.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2022-05-17 12:28:31 UTC
(
hide
)
Description:
Bug 30778: Remove ModAuthInBatch
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-05-17 12:28:31 UTC
Size:
1.18 KB
patch
obsolete
>From ed5c5b25d5959127ce228ca0c3196b9a7c607032 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30778
:
135049
|
135050
|
135056
|
135057
|
135067
| 135068