]> git.koha-community.org Git - koha.git/commit
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>
Wed, 7 Jun 2023 18:25:18 +0000 (15:25 -0300)
commite9738a8370af75eaf12cfa540e4105e782066ebd
tree1e65b655a20fa9b3a9c8802c961aba993c128c39
parent52b807544c6a0fa3944029fd4c94d4a21a7272b2
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