From 32d6145a3ca692e8309ecb6b7a179dcd30217aeb Mon Sep 17 00:00:00 2001 From: kados Date: Fri, 3 Mar 2006 16:45:36 +0000 Subject: [PATCH] Remove the search that tests the Zconn -- warning, still no fault tollerance --- C4/Context.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/C4/Context.pm b/C4/Context.pm index a0a1c62357..0d9b8211fc 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -417,10 +417,10 @@ sub Zconn { my $Zconn; if (defined($context->{"Zconn"})) { $Zconn = $context->{"Zconn"}; - $rs=$Zconn->search_pqf('@attr 1=4 mineral'); - if ($Zconn->errcode() != 0) { - $context->{"Zconn"} = &new_Zconn(); - return $context->{"Zconn"}; +# $rs=$Zconn->search_pqf('@attr 1=4 mineral'); +# if ($Zconn->errcode() != 0) { +# $context->{"Zconn"} = &new_Zconn(); +# return $context->{"Zconn"}; } return $context->{"Zconn"}; } else { @@ -780,6 +780,10 @@ Andrew Arensburger =cut # $Log$ +# Revision 1.31 2006/03/03 16:45:36 kados +# Remove the search that tests the Zconn -- warning, still no fault +# tollerance +# # Revision 1.30 2006/02/22 00:56:59 kados # First go at a connection object for Zebra. You can now get a # connection object by doing: -- 2.39.5