[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
Fri Feb 23 16:02:40 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33431
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #160392|0 |1
is obsolete| |
Attachment #160393|0 |1
is obsolete| |
Attachment #160394|0 |1
is obsolete| |
--- Comment #18 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 162381
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162381&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
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list