diff --git a/C4/Members.pm b/C4/Members.pm index 9d1511c81c..755c6a8f84 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -94,10 +94,6 @@ The following will be set where applicable: $flags->{ ODUES }->{itemlist} ref-to-array: list of overdue books $flags->{ ODUES }->{itemlisttext} Text list of overdue items -- deprecated - $flags->{WAITING} Set if any of patron's reserves are available - $flags->{WAITING}->{message} Message -- deprecated - $flags->{WAITING}->{itemlist} ref-to-array: list of available items - =over =item C<$flags-E{ODUES}-E{itemlist}> is a reference-to-array listing the @@ -108,10 +104,6 @@ biblioitems, and items tables of the Koha database. =item C<$flags-E{ODUES}-E{itemlisttext}> is a string giving a text listing of the overdue items, one per line. Deprecated. -=item C<$flags-E{WAITING}-E{itemlist}> is a reference-to-array listing the -available items. Each element is a reference-to-hash whose keys are -fields from the reserves table of the Koha database. - =back All the "message" fields that include language generated in this function are deprecated, @@ -203,14 +195,6 @@ sub patronflags { $flags{'ODUES'} = \%flaginfo; } - my $waiting_holds = $patron->holds->search( { found => 'W' } ); - my $nowaiting = $waiting_holds->count; - if ( $nowaiting > 0 ) { - my %flaginfo; - $flaginfo{'message'} = "Reserved items available"; - $flaginfo{'itemlist'} = $waiting_holds->unblessed; - $flags{'WAITING'} = \%flaginfo; - } return ( \%flags ); } diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm index 9389cb24b5..9a168461dd 100644 --- a/C4/SIP/ILS/Patron.pm +++ b/C4/SIP/ILS/Patron.pm @@ -925,9 +925,6 @@ __END__ {message} "Yes" {itemlist} ref-to-array: list of overdue books {itemlisttext} Text list of overdue items - {WAITING} Set if there are items available that the patron reserved - {message} Message to this effect - {itemlist} ref-to-array: list of available items =cut