From 04832a7fd119b5b5de81b3d75b1f156dad2f88e1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Mar 2017 09:30:19 -0300 Subject: [PATCH] Bug 18270: Do not fetch the MARC record when deleting an item $record is never used later, the call is superfluous. Test plan: Quick glance at the code should be enough --- C4/Items.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 8f177b0..82f680e 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -680,8 +680,6 @@ sub DelItem { # FIXME check the item has no current issues my $deleted = _koha_delete_item( $itemnumber ); - # get the MARC record - my $record = GetMarcBiblio($biblionumber); ModZebra( $biblionumber, "specialUpdate", "biblioserver" ); #search item field code -- 2.1.4