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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2017-02-03 11:49:30 +01:00 committed by Kyle M Hall
parent b01fe1a666
commit 71f34c7b34

View file

@ -474,9 +474,6 @@ foreach my $biblioNum (@biblionumbers) {
my $item = Koha::Items->find( $itemNum ); my $item = Koha::Items->find( $itemNum );
my $holds = $item->current_holds; 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 ) { if ( my $first_hold = $holds->next ) {
my $ItemBorrowerReserveInfo = GetMember( borrowernumber => $first_hold->borrowernumber ); my $ItemBorrowerReserveInfo = GetMember( borrowernumber => $first_hold->borrowernumber );
$itemLoopIter->{backgroundcolor} = 'reserved'; $itemLoopIter->{backgroundcolor} = 'reserved';