Bug 25663: Remove Koha::RefundLostItemFeeRule and uses
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Jun 2020 13:51:42 +0000 (14:51 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 05:55:44 +0000 (07:55 +0200)
commitd09fbb284b50d12783f76fd58400d093f84ce159
tree5764c8703ecabcb8b3b16177aafeb01ebdbb3996
parentbc882fcb13569a2ef8858bfa41856e7df4992388
Bug 25663: Remove Koha::RefundLostItemFeeRule and uses

This patch replaces all calls to RefundLostItemFeeRules with
Koha::CirculationRules->get_lostreturn_policy and removes the module it
makes redundant.

Test plan
1/ Confirm that there are no longer any uses of RefundLostItemFeeRules
in the codebase
2/ Confirm circulation tests still all pass
3/ Confirm you can still set and unset the lost return rules
4/ Signoff

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
Koha/RefundLostItemFeeRules.pm [deleted file]
admin/smart-rules.pl
t/db_dependent/RefundLostItemFeeRule.t [deleted file]
t/lib/TestBuilder.pm