[Koha-bugs] [Bug 26238] New: Remove C4::GetLoanLength()
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 18:06:27 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26238
Bug ID: 26238
Summary: Remove C4::GetLoanLength()
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: lari.taskula at hypernova.fi
QA Contact: testopia at bugs.koha-community.org
GetLoanLength() has become a redundant subroutine. It is a subroutine that
simply calls Koha::CirculationRules->get_effective_rules() and effectively
returns its response. We should just use get_effective_rules() instead.
In addition, GetLoanLength() is is only being used in C4::CalcDueDate() so the
change should be trivial.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list