From 14b3e40fb00d2bd8d37b4703f91b9c09dff82afd Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 25 May 2022 14:02:57 +0000 Subject: [PATCH] Bug 30847: Remove unused OPACShowHoldQueueDetails MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Search for the variables, they aren't used! Signed-off-by: Owen Leonard Rebased-by: Victor Grousset/tuxayo Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi --- opac/opac-reserve.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index b71579d8e4..90ac74a1c3 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -60,12 +60,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); -my ($show_holds_count, $show_priority); -for ( C4::Context->preference("OPACShowHoldQueueDetails") ) { - m/holds/o and $show_holds_count = 1; - m/priority/ and $show_priority = 1; -} - my $patron = Koha::Patrons->find( $borrowernumber, { prefetch => ['categorycode'] } ); my $category = $patron->category; -- 2.39.5