From 17e72b2b1c55d79a5c7cc3cbaa278552ab936c1c Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 11 Mar 2019 14:19:36 +0000 Subject: [PATCH] Bug 18589: (follow-up) Remove redundant-ness Following feedback from Josef via IRC, removing redundant code Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- members/ill-requests.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/members/ill-requests.pl b/members/ill-requests.pl index fad46ea91f..cb02c73eee 100755 --- a/members/ill-requests.pl +++ b/members/ill-requests.pl @@ -22,8 +22,6 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; -use C4::Members; -use C4::Members::Attributes qw(GetBorrowerAttributes); use Koha::Patrons; my $input = new CGI; @@ -45,7 +43,6 @@ my $logged_in_user = Koha::Patrons->find( $loggedinuser ) or die "Not logged in" my $patron = Koha::Patrons->find( $borrowernumber ); output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } ); -my $category = $patron->category; $template->param( prefilters => "borrowernumber=$borrowernumber", patron => $patron, -- 2.39.5