Bug 41262

Summary: Duplicate import in Koha::Patron
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Tomás Cohen Arazi (tcohen) <tomascohen>
Status: Pushed to main --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: minor    
Priority: P5 - low CC: martin.renvoize, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:
Bug Depends on: 26744    
Bug Blocks:    
Attachments: Bug 41262: Remove duplicate `logaction` import
Bug 41262: Remove duplicate `logaction` import

Description Tomás Cohen Arazi (tcohen) 2025-11-18 14:23:27 UTC
There's two `use C4::Log  qw( logaction );`. The newest coming from bug 26744.
Comment 1 Tomás Cohen Arazi (tcohen) 2025-11-18 14:26:49 UTC
Created attachment 189657 [details] [review]
Bug 41262: Remove duplicate `logaction` import

This patch removes a trivial duplicate import.

To test:
1. Apply the patch
2. Run:
  k$ prove t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests don't break
3. Sign off :-D

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Comment 2 Martin Renvoize (ashimema) 2025-11-18 17:10:05 UTC
Created attachment 189674 [details] [review]
Bug 41262: Remove duplicate `logaction` import

This patch removes a trivial duplicate import.

To test:
1. Apply the patch
2. Run:
  k$ prove t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests don't break
3. Sign off :-D

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 3 Lucas Gass (lukeg) 2025-11-19 19:29:35 UTC
Nice work everyone!

Pushed to main for 25.11