From c6bdea7324d55e41c56b7decc01d974dfbb014c9 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 16 Mar 2005 07:09:10 +0000 Subject: [PATCH] moved wormizing code to another script git-svn-id: svn://svn.open-ils.org/ILS/trunk@366 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/import/import_clean_marc.pl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/extras/import/import_clean_marc.pl b/Open-ILS/src/extras/import/import_clean_marc.pl index 31e5269e3b..8e262deb3b 100755 --- a/Open-ILS/src/extras/import/import_clean_marc.pl +++ b/Open-ILS/src/extras/import/import_clean_marc.pl @@ -29,8 +29,8 @@ try { throw OpenSRF::EX::PANIC ("I can't connect to the storage server!") if (!$st_server->connect); - throw OpenSRF::EX::PANIC ("I can't connect to the worm server!") - if ($wormize && !$worm_server->connect); +# throw OpenSRF::EX::PANIC ("I can't connect to the worm server!") +# if ($wormize && !$worm_server->connect); } catch Error with { die shift; @@ -132,9 +132,10 @@ while ( my $xml = <> ) { die $r unless (UNIVERSAL::can($r, 'content')); die "Couldn't commit transaction!" unless ($r->content); - if ($wormize) { - $worm_server->request( 'open-ils.worm.wormize', $new_id,); - } +# if ($wormize) { +# $worm_server->full_request( 'open-ils.worm.wormize', $new_id,); +# #$worm_server->disconnect; +# } } } -- 2.43.2