[Koha-bugs] [Bug 33431] Make code use C4::Context->yaml_preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 6 16:45:13 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33431

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 149236
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149236&action=edit
Bug 33431: Make C4::Circulation use C4::Context->yaml_preference

This patch removes manual YAML handling for sysprefs in C4::Circulation.

It also makes C4::Context->yaml_preference not warn when undef is
retrieved from the sysprefs.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Circulation*
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list