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@lists.koha-community.org Reporter: lari.taskula@hypernova.fi QA Contact: testopia@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.