[Koha-patches] [PATCH] Bug 1953 [4/6]: removing dead code from C4::Koha::displayServers

Galen Charlton galen.charlton at liblime.com
Tue Jul 29 18:42:48 CEST 2008


From: Andrew Moore <andrew.moore at liblime.com>

displayServers appears to have had old code in it that was no longer used. I'm removing it.

Signed-off-by: Galen Charlton <galen.charlton at liblime.com>
---
 C4/Koha.pm |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/C4/Koha.pm b/C4/Koha.pm
index b5f6f91..1c07cf0 100644
--- a/C4/Koha.pm
+++ b/C4/Koha.pm
@@ -914,15 +914,6 @@ sub displayServers {
     my @primaryserverloop;
 
     while ( my $data = $rq->fetchrow_hashref ) {
-        my %cell;
-        $cell{label} = $data->{'description'};
-        $cell{id}    = $data->{'name'};
-        $cell{value} =
-            $data->{host}
-          . ( $data->{port} ? ":" . $data->{port} : "" ) . "/"
-          . $data->{database}
-          if ( $data->{host} );
-        $cell{checked} = $data->{checked};
         push @primaryserverloop,
           {
             label => $data->{description},
-- 
1.5.5.GIT



More information about the Koha-patches mailing list