]> git.koha-community.org Git - koha.git/commit
Bug 2775: adding method to clean syspref cache in C4::Context
authorAndrew Moore <andrew.moore@liblime.com>
Tue, 11 Nov 2008 20:34:13 +0000 (14:34 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 11 Nov 2008 21:59:00 +0000 (15:59 -0600)
commit549ec91a13c7ece4128349d66c613dff836c4558
tree643187468787bbd4c66bcb3369ae8fd9b9e149c1
parent47c9185ec2a3479e2756dbc92b9eb84e8953c6c3
Bug 2775: adding method to clean syspref cache in C4::Context

C4::Installer provides a way to update the kohaversion syspref. Now that
C4::Context caches syspref values, any updated value through C4::Installer
is not being seen.

This patch adds a method to C4::Context to allow you to clean that
cache. Then, it calls that method when the kohaversion syspref is changed.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Context.pm
C4/Installer.pm