]> git.koha-community.org Git - koha.git/commit
Bug 15333: Use Koha::Cache to cache exception_holidays instead of a package variable
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 May 2016 19:35:39 +0000 (20:35 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 25 May 2016 22:18:27 +0000 (22:18 +0000)
commitcbd375fab76a89b75f3795c9ebafe434bf79c878
tree469b1b7a634cfbe59ac21d4e53fe75c3568275d8
parent120967a6a9e777d0f99300fdbb6552943ce6e9af
Bug 15333: Use Koha::Cache to cache exception_holidays instead of a package variable

On the same way as bug 14522, we should use Koha::Cache to cache
exception_holidays.
It's not safe to use a package variable if running under Plack.

There is not test plan, just make sure the changes make sense.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
C4/Calendar.pm
Koha/Calendar.pm