[Koha-bugs] [Bug 10211] New: Remove deprecated Z39.50.pm code

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 7 08:36:59 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10211

            Bug ID: 10211
           Summary: Remove deprecated Z39.50.pm code
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Z39.50 / SRU / OpenSearch Servers
          Assignee: gmcharlt at gmail.com
          Reporter: dcook at prosentient.com.au
                CC: m.de.rooy at rijksmuseum.nl

I think that Z39.50.pm is all deprecated code and that it can safely be
removed.

I grepped for a reference to it, and only noticed references in Makefile and
Makefile.old.

When I grepped for the subs in the module, I only found references within the
same module:



grep -R -i "getz3950servers" * --exclude-dir="translator"
--exclude-dir="installer" --exclude-dir="ar-Arab" --exclude-dir="fr-FR"
--exclude-dir="blib"

C4/Z3950.pm:            &getz3950servers
C4/Z3950.pm:=item getz3950servers
C4/Z3950.pm:  @servers= &getz3950servers(checked);
C4/Z3950.pm:sub getz3950servers {
t/db_dependent/lib/KohaTest/Z3950.pm:    my @methods = qw( getz3950servers

C4/Z3950.pm:            &z3950servername
C4/Z3950.pm:=item z3950servername
C4/Z3950.pm:  $name = &z3950servername($dbh, $server_id, $default_name);
C4/Z3950.pm:sub z3950servername {
C4/Z3950.pm:} # sub z3950servername
t/db_dependent/lib/KohaTest/Z3950.pm:                      z3950servername

C4/Z3950.pm:            &addz3950queue
C4/Z3950.pm:=item addz3950queue
C4/Z3950.pm:  $errmsg = &addz3950queue($query, $type, $request_id, @servers);
C4/Z3950.pm:C<&addz3950queue> sends a SIGHUP to the daemon to tell it to
process
C4/Z3950.pm:C<&addz3950queue> returns an error message. If it was successful,
the
C4/Z3950.pm:sub addz3950queue {
C4/Z3950.pm:} # sub addz3950queue
t/db_dependent/lib/KohaTest/Z3950.pm:                      addz3950queue

C4/Z3950.pm:            &checkz3950searchdone
C4/Z3950.pm:=item &checkz3950searchdone
C4/Z3950.pm:  $numberpending= & &checkz3950searchdone($random);
C4/Z3950.pm:sub checkz3950searchdone {
t/db_dependent/lib/KohaTest/Z3950.pm:                      checkz3950searchdone

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list