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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 10 Dec 2013 18:19:15 +0000 (18:19 +0000)
commit08c47cbfe2517ef36b15a16a94227b854be5eeb9
treef94352f90c8370656cb0337e7b789a535aaa1359
parenta98b239dbfbf0d0e9c6f6593c3457c18c79584a9
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>
Koha/Calendar.pm
t/db_dependent/Holidays.t