https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25723

--- Comment #71 from Joonas Kylmälä <[email protected]> ---
Created attachment 107018
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107018&action=edit
Bug 25723: Use the same code for single and exception holidays

This patch refactors is_exception_holiday and is_single_holiday to
utilise a single _holidays method which combines the logic of the
previous single_holidays and exception_holidays methods.

As Koha::Calendar is instantiated at a branch level, we also move split
the cache into branches too.

Signed-off-by: Emma Perks <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>
Signed-off-by: Joonas Kylmälä <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to