From 71f34c7b34c355e0b8c0dead9f7ca49b4e1e1dc3 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 3 Feb 2017 11:49:30 +0100 Subject: [PATCH] Bug 17737: [QA Follow-up] Remove unused reservedfor variable The changes in this patch set obsolete this variable. Remove confusing comment about reserve via host record. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- opac/opac-reserve.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 1939ec9749..8b7d388ee3 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -474,9 +474,6 @@ foreach my $biblioNum (@biblionumbers) { my $item = Koha::Items->find( $itemNum ); my $holds = $item->current_holds; - # the item could be reserved for this borrower vi a host record, flag this - my $reservedfor = q||; - if ( my $first_hold = $holds->next ) { my $ItemBorrowerReserveInfo = GetMember( borrowernumber => $first_hold->borrowernumber ); $itemLoopIter->{backgroundcolor} = 'reserved'; -- 2.39.5