@@ -, +, @@ Transfer Limit functions --- C4/Circulation.pm | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -3569,6 +3569,9 @@ return $exist; Code is either an itemtype or collection doe depending on the pref BranchTransferLimitsType +Deprecated in favor of Koha::Item::Transfer::Limits->find/search and +Koha::Item->can_be_transferred. + =cut sub IsBranchTransferAllowed { @@ -3597,6 +3600,8 @@ sub IsBranchTransferAllowed { $code is either itemtype or collection code depending on what the pref BranchTransferLimitsType is set to. +Deprecated in favor of Koha::Item::Transfer::Limit->new. + =cut sub CreateBranchTransferLimit { @@ -3618,6 +3623,10 @@ Deletes all the library transfer limits for one library. Returns the number of limits deleted, 0e0 if no limits were deleted, or undef if no arguments are supplied. +Deprecated in favor of Koha::Item::Transfer::Limits->search({ + fromBranch => $fromBranch + })->delete. + =cut sub DeleteBranchTransferLimits { --