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

--- Comment #17 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 203310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203310&action=edit
Bug 42314: (follow-up) Use Koha::Library->calendar accessor

Replace direct Koha::Calendar->new calls with $library->calendar
where a Koha::Library object is already available:

- Koha::REST::V1::Libraries::list_closed_dates
- Koha::Charges::Fees::accumulate_rentalcharge

Remove now-unused 'use Koha::Calendar' from both files.

Signed-off-by: Tomás Cohen Arazi <[email protected]>
Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Tomás Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to