Bugzilla – Attachment 132216 Details for
Bug 28294
C4::Circulation::updateWrongTransfer should be moved into Koha::
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28294: Remove updateWrongTransfer method
Bug-28294-Remove-updateWrongTransfer-method.patch (text/plain), 1.57 KB, created by
Marcel de Rooy
on 2022-03-25 09:41:16 UTC
(
hide
)
Description:
Bug 28294: Remove updateWrongTransfer method
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-03-25 09:41:16 UTC
Size:
1.57 KB
patch
obsolete
>From bfb940df494319447c7085ba7ef50273a5ced57f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 1 Feb 2022 19:27:06 +0000 >Subject: [PATCH] Bug 28294: Remove updateWrongTransfer method >Content-Type: text/plain; charset=utf-8 > >This patch removes the updateWrongTransfer method entirely from >C4/Circulation.pm. > >Test plan >1/ Confirm that there are no longer any mentions of updateWrongTransfer >in the codebase. >--- > C4/Circulation.pm | 17 ----------------- > 1 file changed, 17 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index eb1a773cc8..0eabd3459e 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -109,7 +109,6 @@ BEGIN { > TooMany > GetTransfers > GetTransfersFromTo >- updateWrongTransfer > CalcDateDue > CheckValidBarcode > IsBranchTransferAllowed >@@ -3641,22 +3640,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); >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28294
:
120637
|
121062
|
121063
|
121064
|
121077
|
121078
|
121079
|
121095
|
121096
|
121097
|
121714
|
121715
|
121716
|
130082
|
130083
|
130084
|
130085
|
130086
|
130087
|
132212
|
132213
|
132214
|
132215
|
132216
|
132217
|
160516
|
160517
|
160518
|
160519
|
160520
|
160521
|
160536
|
160692
|
168281
|
172778
|
172781
|
173856
|
174805