From 4b518d2535d5dd9bb1e8f9fe8949c55c1b723174 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 2 Jul 2021 06:19:14 +0000 Subject: [PATCH] Bug 27948: (QA follow-up) Remove unused $disclaimer code Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- opac/opac-request-article.pl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/opac/opac-request-article.pl b/opac/opac-request-article.pl index 38736e7f6f..c89944d0e3 100644 --- a/opac/opac-request-article.pl +++ b/opac/opac-request-article.pl @@ -42,14 +42,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'} || ""; -my $location = 'ArticleRequestsDisclaimerText_'; -my $disclaimer; -if ( !$action ) { - $disclaimer = GetNewsToDisplay( $location . $template->lang, $homebranch ); - $disclaimer = GetNewsToDisplay( $location . "en", $homebranch ) - if !scalar(@$disclaimer); -} - if ( $action eq 'create' ) { my $branchcode = $cgi->param('branchcode'); -- 2.39.5