Bug 28530: (QA follow-up) Remove unused LibraryFloatLimitTransferRequest message handling
The LibraryFloatLimitTransferRequest message was never set in C4::Circulation, making this code unreachable. Float limit transfers are already properly handled through the existing transfer message system (WasTransfered/NeedsTransfer) with TransferTrigger set to 'LibraryFloatLimit'. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
c56429b29d
commit
600bfe072d
|
|
@ -525,13 +525,6 @@ my $recalled = 0;
|
|||
# new op dev : we check if the document must be returned to his homebranch directly,
|
||||
# if the document is transferred, we have warning message .
|
||||
|
||||
if ( $messages->{'LibraryFloatLimitTransferRequest'} ) {
|
||||
$template->param(
|
||||
LibraryFloatLimitTransferRequest => 1,
|
||||
itemnumber => $itemnumber,
|
||||
);
|
||||
}
|
||||
|
||||
if ( $messages->{'WasTransfered'} ) {
|
||||
$template->param(
|
||||
found => 1,
|
||||
|
|
@ -764,8 +757,6 @@ foreach my $code ( keys %$messages ) {
|
|||
;
|
||||
} elsif ( $code eq 'TransferredRecall' ) {
|
||||
;
|
||||
} elsif ( $code eq 'LibraryFloatLimitTransferRequest' ) {
|
||||
;
|
||||
} elsif ( $code eq 'InBundle' ) {
|
||||
$template->param( InBundle => $messages->{InBundle} );
|
||||
} elsif ( $code eq 'UpdateLastSeenError' ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue