]> git.koha-community.org Git - koha.git/commit
Bug 11112: (follow-up) repair Koha::Calendar->add_holiday()
authorGalen Charlton <gmc@esilibrary.com>
Tue, 10 Dec 2013 18:11:37 +0000 (18:11 +0000)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Tue, 24 Dec 2013 10:52:50 +0000 (11:52 +0100)
commite8779ef7011c2ee90cec8e03b3fd76c80a403626
tree693230ba4d8904a27c062787b35fa44e645f86c8
parent985debedecaf5e276dbfb7147f022c05c0ff2c99
Bug 11112: (follow-up) repair Koha::Calendar->add_holiday()

This patch ensures that the package-level cache is updated
when add_holiday() is used.  Note that except for the test
case added by this patch, there doesn't seem to be anything
that actually calls ->add_holiday(); it may be better to remove it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 08c47cbfe2517ef36b15a16a94227b854be5eeb9)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
Koha/Calendar.pm
t/db_dependent/Holidays.t