From 33c2fcdd482d6124a9971ea3bbbead38157f7942 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 Content-Type: text/plain; charset=utf-8 The changes in this patch set obsolete this variable. Remove confusing comment about reserve via host record. Signed-off-by: Marcel de Rooy --- opac/opac-reserve.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 3881b3d..9b0bffc 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -452,9 +452,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.1.4