From cbd005ad9d4d067acfa84d30ceeb82347f43f14e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Jul 2020 09:57:08 +0200 Subject: [PATCH] Bug 24151: Use fully qualified names for UpdateStats t/db_dependent/Koha/Account/Line.t .. 8/12 # Looks like you planned 16 tests but ran 3. # Failed test 'void() tests' # at t/db_dependent/Koha/Account/Line.t line 723. Undefined subroutine &Koha::Account::UpdateStats called at /kohadevbox/koha/Koha/Account.pm line 289. It's certainly caused by a circ dep from commit 5ce968e0e571f555261c02a9e1d27447611cdb89 Bug 24151: Copy info to the pseudonymized table when a transaction is done See also bug 17600 for more context. --- Koha/Account.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index de251c52da..2a63856b52 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -279,7 +279,7 @@ sub pay { $o->store(); } - UpdateStats( + C4::Stats::UpdateStats( { branch => $library_id, type => lc($type), @@ -435,7 +435,7 @@ sub add_credit { } )->store(); - UpdateStats( + C4::Stats::UpdateStats( { branch => $library_id, type => lc($credit_type), -- 2.20.1