Bug 41891

Summary: Move C4::Context->preferences to a separate package
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 41890    
Bug Blocks: 41892, 41893    
Attachments: Bug 41891: Move C4::Context->preference to Koha::Context::Preferences->get

Description Jonathan Druart 2026-02-20 10:00:25 UTC
Code to retrieve syspref's values will be moved to a separate (isolated) modules (Koha::Context::Preferences) to avoid circular dependencies.
Comment 1 Jonathan Druart 2026-02-20 10:24:33 UTC
Created attachment 193508 [details] [review]
Bug 41891: Move C4::Context->preference to Koha::Context::Preferences->get

Patch from commit 8b559c5