Bug 41891 - Move C4::Context->preferences to a separate package
Summary: Move C4::Context->preferences to a separate package
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 41890
Blocks: 41892 41893
  Show dependency treegraph
 
Reported: 2026-02-20 10:00 UTC by Jonathan Druart
Modified: 2026-02-20 10:24 UTC (History)
0 users

See Also:
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:


Attachments
Bug 41891: Move C4::Context->preference to Koha::Context::Preferences->get (3.87 KB, patch)
2026-02-20 10:24 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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