]> git.koha-community.org Git - koha.git/commit
Bug 25114: Remove duplicated logic from GetLoanLength()
authorLari Taskula <lari.taskula@hypernova.fi>
Sat, 11 Apr 2020 19:48:48 +0000 (19:48 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 15:39:48 +0000 (17:39 +0200)
commit14d3a7dfe3744680f1efe387fc88bb3e79609b4c
tree74754d0a523268ea826711794a412f902f072d81
parent274075a63f438110b0dcbb8f5a0b6f0fae53eb3f
Bug 25114: Remove duplicated logic from GetLoanLength()

Remove duplicated logic for searching circulation rules.

This can be replaced with get_effective_rules().

To test:
1. prove t/db_dependent/Circulation/GetHardDueDate.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm