From 574dc07e0dbed1d397d6a6439baee5737a4b127a Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 3 Dec 2013 11:39:43 +0000 Subject: [PATCH] Bug 6331: (follow-up) do not populate deleteditems.marc This is supplementary to the main patch for bug 6331. Having removed the attribute marc from items DelItem, we should not try to populate it. Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton (cherry picked from commit 2249ee1216ed004e61a34bc821d216f3471ef87b) Signed-off-by: Fridolin SOMERS --- C4/Items.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 80361b9daf..3a67be9338 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -622,11 +622,6 @@ sub DelItem { my $record = GetMarcBiblio($biblionumber); ModZebra( $biblionumber, "specialUpdate", "biblioserver" ); - # backup the record - my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?"); - $copy2deleted->execute( $record->as_usmarc(), $itemnumber ); - # This last update statement makes that the timestamp column in deleteditems is updated too. If you remove these lines, please add a line to update the timestamp separately. See Bugzilla report 7146 and Biblio.pm (DelBiblio). - #search item field code logaction("CATALOGUING", "DELETE", $itemnumber, "item") if C4::Context->preference("CataloguingLog"); } -- 2.39.5