From 17c831399f2cd953935ef31892d30845f96c8a94 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 23 Sep 2009 11:38:51 +0200 Subject: [PATCH] Delete unused function Signed-off-by: Galen Charlton --- C4/Koha.pm | 14 -------------- catalogue/search.pl | 2 +- opac/opac-search.pl | 2 +- t/lib/KohaTest/Koha.pm | 1 - 4 files changed, 2 insertions(+), 17 deletions(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 05e3074e72..730e3c604b 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -966,20 +966,6 @@ sub displayServers { return \@primaryserverloop; } -sub displaySecondaryServers { - -# my $secondary_servers_loop = [ -# { inner_sup_servers_loop => [ -# {label => "Google", id=>"GOOG", value=>"google",icon => "google.ico",opensearch => "1"}, -# {label => "Yahoo", id=>"YAH", value=>"yahoo", icon =>"yahoo.ico", zed => "1"}, -# {label => "Worldcat", id=>"WCT", value=>"worldcat", icon => "worldcat.gif", zed => "1"}, -# {label => "Library of Congress", id=>"LOC", name=> "server", value=>"z3950.loc.gov:7090/Voyager", icon =>"loc.ico", zed => "1"}, -# ], -# }, -# ]; - return; #$secondary_servers_loop; -} - =head2 GetAuthValCode $authvalcode = GetAuthValCode($kohafield,$frameworkcode); diff --git a/catalogue/search.pl b/catalogue/search.pl index 33da2b0048..f9e5241966 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -261,7 +261,7 @@ if ( $template_type eq 'advsearch' ) { my $primary_servers_loop;# = displayPrimaryServers(); $template->param(outer_servers_loop => $primary_servers_loop,); - my $secondary_servers_loop;# = displaySecondaryServers(); + my $secondary_servers_loop; $template->param(outer_sup_servers_loop => $secondary_servers_loop,); # set the default sorting diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 9261b5579e..a7f7470645 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -172,7 +172,7 @@ if ( $template_type && $template_type eq 'advsearch' ) { my $primary_servers_loop;# = displayPrimaryServers(); $template->param(outer_servers_loop => $primary_servers_loop,); - my $secondary_servers_loop;# = displaySecondaryServers(); + my $secondary_servers_loop; $template->param(outer_sup_servers_loop => $secondary_servers_loop,); # set the default sorting diff --git a/t/lib/KohaTest/Koha.pm b/t/lib/KohaTest/Koha.pm index b1774a2c62..13a145a10c 100644 --- a/t/lib/KohaTest/Koha.pm +++ b/t/lib/KohaTest/Koha.pm @@ -36,7 +36,6 @@ sub methods : Test( 1 ) { get_infos_of get_notforloan_label_of displayServers - displaySecondaryServers GetAuthValCode GetAuthorisedValues GetAuthorisedValueCategories -- 2.39.5