Bug 17737: [QA Follow-up] Remove unused reservedfor variable
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 3 Feb 2017 10:49:30 +0000 (11:49 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:49:12 +0000 (08:49 -0400)
The changes in this patch set obsolete this variable.
Remove confusing comment about reserve via host record.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-reserve.pl

index 1939ec9..8b7d388 100755 (executable)
@@ -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';