[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
Tue Jan 2 11:30:49 CET 2024


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #160281|0                           |1
        is obsolete|                            |

--- Comment #13 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 160392
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160392&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