From 6b49df4c3f1b6ca56a547290662a736654a2c6d5 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 25 Dec 2007 01:25:56 -0600 Subject: [PATCH] removed superfluous comments Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- misc/migration_tools/bulkmarcimport.pl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index f920a4d6b2..e9dbfa34b9 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -238,14 +238,6 @@ while ( my $record = $batch->next() ) { } $dbh->commit() if (0 == $i % $commitnum); } -# # FIXME - duplicate barcode check needs to become part of AddItem() -# my $itemhash = TransformMarcToKoha($dbh, $items[$it]); -# my $duplicate_barcode = exists($itemhash->{'barcode'}) && GetItemnumberFromBarcode($itemhash->{'barcode'}); -# if ($duplicate_barcode) { -# warn "ERROR: cannot add item $itemhash->{'barcode'} for biblio $bibid: duplicate barcode\n" if $verbose; -# } else { -# eval { AddItem( $items[$it], $bibid, $oldbibitemnum ); }; -# warn "ERROR: Adding item $it, rec $i failed\n" if ($@); last if $i == $number; } $dbh->commit(); -- 2.39.5