Bug 41893

Summary: Remove C4::Context from Koha::Plugins's BEGIN block
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: 41891    
Bug Blocks:    
Attachments: Bug 41893: Remove C4::Context from Koha::Plugins's BEGIN block

Description Jonathan Druart 2026-02-20 10:02:50 UTC
it causes compilation errors

Can't locate object method "config" via package "C4::Context" at /kohadevbox/koha/Koha/Plugins.pm line 44.
Comment 1 Jonathan Druart 2026-02-20 10:24:17 UTC
Created attachment 193507 [details] [review]
Bug 41893: Remove C4::Context from Koha::Plugins's BEGIN block

Can't locate object method "config" via package "C4::Context" at /kohadevbox/koha/Koha/Plugins.pm line 44.