Koha-clms/Koha/BackgroundJob
Olivia Reynolds 0670379b76
Bug 42396: Remove C4::Stats::UpdateStats and delete module
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>
2026-07-27 15:53:22 +00:00
..
BatchCancelHold.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchDeleteAuthority.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteBiblio.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteItem.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateAuthority.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblio.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblioHoldsQueue.pm Bug 42489: Pass unallocated mode to real-time holds queue 2026-07-27 12:12:47 +00:00
BatchUpdateItem.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
CreateEHoldingsFromBiblios.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ErmSushiHarvester.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ImportKBARTFile.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
MARCImportCommitBatch.pm Bug 40846: Improve handling of ignored records 2026-01-21 07:44:20 -07:00
MARCImportRevertBatch.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
PseudonymizeStatistic.pm Bug 42396: Remove C4::Stats::UpdateStats and delete module 2026-07-27 15:53:22 +00:00
StageMARCForImport.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
TestTransport.pm Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
UpdateElasticIndex.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00