X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FCirculation.pm;h=d2f551673b99e1f9cbf09999fbe47cc72effbcad;hb=b67654ecc2e8b7683037cb7fa6bd4582ab199835;hp=4a5103fc18d896911a506db97dddc960a81cb1cf;hpb=0c219d3dd83e6eb0ef9eb84b02266ab618eade8b;p=koha.git diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 4a5103fc18..d2f551673b 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2494,12 +2494,6 @@ sub CanBookBeRenewed { $error = "on_reserve"; } - if ( ( $issuingrule->{renewalsallowed} > $itemissue->{renewals} ) || $override_limit ) { - $renewokay = 1; - } else { - $error = "too_many"; - } - return ( $renewokay, $error ); }