@@ -, +, @@ --- C4/Circulation.pm | 17 ----------------- 1 file changed, 17 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -107,7 +107,6 @@ BEGIN { transferbook TooMany GetTransfersFromTo - updateWrongTransfer CalcDateDue CheckValidBarcode IsBranchTransferAllowed @@ -3806,22 +3805,6 @@ sub SendCirculationAlert { return; } -=head2 updateWrongTransfer - - $items = updateWrongTransfer($itemNumber,$borrowernumber,$waitingAtLibrary,$FromLibrary); - -This function validate the line of brachtransfer but with the wrong destination (mistake from a librarian ...), and create a new line in branchtransfer from the actual library to the original library of reservation - -=cut - -sub updateWrongTransfer { - my ( $itemNumber,$waitingAtLibrary,$FromLibrary ) = @_; - - my $transfer = Koha::Items->find($itemNumber)->get_transfer; - my $new_transfer = $transfer->remedy(); - return $new_transfer; -} - =head2 CalcDateDue $newdatedue = CalcDateDue($startdate,$itemtype,$branchcode,$borrower); --