From: Mike Taylor Date: Thu, 1 Mar 2007 13:51:18 +0000 (+0000) Subject: Remove unused cql_target() X-Git-Tag: CPAN-v1.02~54^2~517 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=25180091cc6e101d3b7c684c07e541f544364aaa Remove unused cql_target() --- diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index ad98b15..c31d188 100644 --- a/lib/ZOOM/IRSpy/Utils.pm +++ b/lib/ZOOM/IRSpy/Utils.pm @@ -1,4 +1,4 @@ -# $Id: Utils.pm,v 1.21 2006-12-18 15:34:54 mike Exp $ +# $Id: Utils.pm,v 1.22 2007-03-01 13:51:18 mike Exp $ package ZOOM::IRSpy::Utils; @@ -10,7 +10,6 @@ use Exporter 'import'; our @EXPORT_OK = qw(isodate xml_encode cql_quote - cql_target irspy_xpath_context modify_xml_document bib1_access_point); @@ -72,16 +71,6 @@ sub cql_quote { } -# Makes a CQL query that finds a specified target -sub cql_target { - my($host, $port, $db) = @_; - - return ("host=" . cql_quote($host) . " and " . - "port=" . cql_quote($port) . " and " . - "path=" . cql_quote($db)); -} - - # PRIVATE to irspy_namespace() and irspy_xpath_context() my %_namespaces = ( e => 'http://explain.z3950.org/dtd/2.0/',