Koha-clms/svc
Martin Renvoize ad8c00c781
Bug 40866: Remove original Bug 9762 implementation remnants (Part 2 - Renewals)
This patch removes the duplicate logging code from renewal scripts
(circ/renew.pl and svc/renew) that was part of the original Bug 9762
implementation.

The original implementation created separate logaction() calls with
custom JSON messages whenever renewal overrides occurred. This caused
double logging alongside the Alternative implementation which properly
logs overrides via the confirmations parameter in AddRenewal.

Changes:

circ/renew.pl:
- Removed unused variables: $user, $branchcode, @message
- Removed separate logaction() calls for override logging
- Changed to use confirmations array with proper codes:
  * 'RENEWAL_LIMIT' for override_limit
  * 'ON_RESERVE' for override_holds
- Removed C4::Log qw(logaction) import

svc/renew:
- Removed unused variables: $borrower, $user, $message, @message
- Removed separate logaction() calls for override logging
- Changed to use confirmations array with proper codes:
  * 'ON_RESERVE' for on_reserve override
  * 'RENEWAL_LIMIT' for too_many override
- Removed C4::Log qw(logaction) import

The Alternative implementation in AddRenewal will now handle all
override logging consistently through the confirmations parameter.

Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ca47310a3b)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-10-29 10:02:17 +01:00
..
cataloguing Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
club Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
config Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
letters Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mana Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
records Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
virtualshelves Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
article_request Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authentication Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authorised_values Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
barcode Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bib_framework Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bib_profile Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkin Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkout_notes Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkouts Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
convert_report Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cover_images Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
creator_batches Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
holds Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
import_bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
localization Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
new_bib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
problem_reports Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
recall Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
renew Bug 40866: Remove original Bug 9762 implementation remnants (Part 2 - Renewals) 2025-10-29 10:02:17 +01:00
report Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
return_claims Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
split_callnumbers Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00