Bug 32478: Remove Koha::Config::SysPref->find since bypasses cache
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Thu, 29 Sep 2022 15:18:40 +0000 (17:18 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 19:04:58 +0000 (16:04 -0300)
commit342d46e611ec294ad745b11d922560a0e66fe6d6
treea6e5cd71376e1a2d97251e5635f55c0a4b9a04d9
parentd7288411f00e3afd2a0284193ce7742545d88266
Bug 32478: Remove Koha::Config::SysPref->find since bypasses cache

get_yaml_pref_hash also allows invalid YAML and only parses a limited
subset so remove this method to avoid future issues.

To test):

Since tests already exists for C4::Context->yaml_preference and this
is a trivial change, do we really need a test plan for this?

Sponsored-by: Gothenburg University Library
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm
Koha/Config/SysPref.pm
Koha/Item.pm
t/db_dependent/Koha/Config/SysPrefs.t