]> git.koha-community.org Git - koha.git/commit
Bug 29537: Remove unnecessary if-else checks for soonest renew date
authorNick Clemens <nick@bywatersolutions.com>
Thu, 24 Mar 2022 11:42:55 +0000 (11:42 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 13 May 2022 16:07:35 +0000 (12:07 -0400)
commitfc1cd513276edc6b6f9fe01ffd596a802e8b17a2
treed2c10d3582b20105b3d7263034ab8e38b5029d25
parent7e053bf5462494cf91f2f2be745416d2d7ad261b
Bug 29537: Remove unnecessary if-else checks for soonest renew date

GetSoonestRenewDate() calculates the renewal due date now also
correctly for auto-renewals after the fixes from bug 29476 so we don't
have to add any if-else checks because of it being buggy anymore.

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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm