Created attachment 170688 [details] [review] Bug 37722: Add KOha Objects for Koha Holidays These patches add objects for special and repeating holidays To test: prove -v t/db_dependent/Koha/Holidays/
Created attachment 171995 [details] [review] Bug 37722: Add KOha Objects for Koha Holidays These patches add objects for special and repeating holidays To test: prove -v t/db_dependent/Koha/Holidays/ Signed-off-by: Olivier V <olivier.vezina@inLibro.com>
Created attachment 173188 [details] [review] Bug 37722: (QA follow-up): fix copyright header
Looks like dead code: ``` use Koha::Database; ``` In Koha/Holidays/RepeatingHoliday.pm Koha/Holidays/RepeatingHolidays.pm Koha/Holidays/SpecialHoliday.pm Koha/Holidays/SpecialHolidays.pm --------- Any reason to switch from RepeatableHoliday (based on table name) to RepeatingHoliday? --------- commit title Bug 37722: Add KOha Objects for Koha Holidays Is a variation of the last case there: «Depending on the situation, it might be written "koha" or "Koha" or maybe even "KOHA". Writing "kOha" just means you got the shifting out of sync, though.» 😝😝😝 https://bugs.koha-community.org/bugzilla3/quips.cgi?action=show ----- All looks good otherwise :)