From 80d93b62c10eb20bcc7f4fa45b87dacf37dc823e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 12 Jul 2021 13:34:15 +0200 Subject: [PATCH] Bug 27948: Remove unused branchcode var Signed-off-by: Jonathan Druart --- opac/opac-request-article.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/opac/opac-request-article.pl b/opac/opac-request-article.pl index 7c5355a46f..c802b88963 100644 --- a/opac/opac-request-article.pl +++ b/opac/opac-request-article.pl @@ -23,7 +23,6 @@ use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; -use C4::Context; use Koha::Biblios; use Koha::Patrons; @@ -40,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( my $action = $cgi->param('action') || q{}; my $biblionumber = $cgi->param('biblionumber'); -my $homebranch = C4::Context->userenv->{'branch'} || ""; if ( $action eq 'create' ) { my $branchcode = $cgi->param('branchcode'); -- 2.39.5