]> 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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 18 Jul 2023 08:55:38 +0000 (08:55 +0000)
commitb7919fd525a0a51a103d96e307a02af54228cc2c
tree9d6f5314b94de0b1e15f897bdbe8d09d472087c1
parent8d40340e5105cc7c70a78e2f2fdfb02c8f3e8b1b
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>
(cherry picked from commit 342d46e611ec294ad745b11d922560a0e66fe6d6)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
C4/Circulation.pm
Koha/Config/SysPref.pm
Koha/Item.pm
t/db_dependent/Koha/Config/SysPrefs.t