This patch replaces all calls to C4::Stats::UpdateStats with the wrapped function from the Koha namespace. As this is the last function in C4::Stats, the module is also deleted. Several tests depended on transitive includes to Koha::Statistics through C4::Stats. I've identified uses of that module by searching, and added the necessary use in each case. I've run `prove -r t xt` with this patch applied and didn't hit any relevant errors. Test plan: 1. Inspect the patch, and verify each changed call maintains the same parameters. 2. Apply patch. 3. Prove the following files: - t/db_dependent/Accounts.t - t/db_dependent/Circulation.t - t/db_dependent/Koha/Account.t - t/db_dependent/Koha/ILL/Request.t - t/db_dependent/Koha/Item.t - t/db_dependent/Koha/Pseudonymization.t - t/db_dependent/Koha/Recalls.t Sponsored-by: Open Fifth Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk> |
||
|---|---|---|
| .. | ||
| accountline-details.pl | ||
| alert-subscriptions.pl | ||
| apikeys.pl | ||
| boraccount.pl | ||
| cancel-charge.pl | ||
| default_messageprefs.pl | ||
| deletemem.pl | ||
| discharge.pl | ||
| discharges.pl | ||
| files.pl | ||
| holdshistory.pl | ||
| housebound.pl | ||
| ill-requests.pl | ||
| mancredit.pl | ||
| maninvoice.pl | ||
| member-flags.pl | ||
| member-password.pl | ||
| member.pl | ||
| memberentry.pl | ||
| members-home.pl | ||
| members-update-do.pl | ||
| members-update.pl | ||
| merge-patrons.pl | ||
| mod_debarment.pl | ||
| moremember.pl | ||
| notices.pl | ||
| patronimage.pl | ||
| pay.pl | ||
| paycollect.pl | ||
| print_overdues.pl | ||
| printfeercpt.pl | ||
| printinvoice.pl | ||
| printnotice.pl | ||
| printslip.pl | ||
| purchase-suggestions.pl | ||
| readingrec.pl | ||
| recallshistory.pl | ||
| routing-lists.pl | ||
| setstatus.pl | ||
| statistics.pl | ||
| summary-print.pl | ||
| two_factor_auth.pl | ||
| update-child.pl | ||