[Koha-patches] [PATCH] bug 2058: removing spurious warnings from C4::Items::AddItem
Andrew Moore
andrew.moore at liblime.com
Fri Apr 25 18:17:02 CEST 2008
just remove a couple unnecessary warn statements.
no documentation or functionality changes.
---
C4/Items.pm | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/C4/Items.pm b/C4/Items.pm
index 1721eb8..825667f 100644
--- a/C4/Items.pm
+++ b/C4/Items.pm
@@ -229,8 +229,6 @@ sub AddItem {
# create MARC tag representing item and add to bib
my $new_item_marc = _marc_from_item_hash($item, $frameworkcode, $unlinked_item_subfields);
- warn "HERE : ".$item->{'biblionumber'};
- warn "HERE 2 : ".$new_item_marc->as_formatted;
_add_item_field_to_biblio($new_item_marc, $item->{'biblionumber'}, $frameworkcode );
logaction("CATALOGUING", "ADD", $itemnumber, "item") if C4::Context->preference("CataloguingLog");
--
1.5.2.1
More information about the Koha-patches
mailing list