From b0ce47f6d8890be5534ed5b08d7582065f536c3b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 21 Sep 2018 17:55:40 -0300 Subject: [PATCH] Bug 21396: Add 2 missing use statements in Koha::Account 1. require C4::Letters must be use C4::Letters (from bug 19191) 2. There is call to C4::Circulation::ReturnLostItem, but no use of C4::Circulation (from bug 20631) Test plan: finger crossed, I ran the tests from t/db_dependent/Koha and they all passed Signed-off-by: Michal Denar Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit 1b56e446ed64cad9d4dd42a8cb3f1953f424e0aa) Signed-off-by: Martin Renvoize (cherry picked from commit 362c9331a241bedb3efcab57c0e1287c5ed1c18a) Signed-off-by: Fridolin Somers --- Koha/Account.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Account.pm b/Koha/Account.pm index ea7a5975d1..0ff8e2fb69 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -23,6 +23,7 @@ use Carp; use Data::Dumper; use List::MoreUtils qw(uniq); +use C4::Circulation qw( ReturnLostItem ); use C4::Log qw( logaction ); use C4::Stats qw( UpdateStats ); -- 2.39.5