projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 10493: (follow-up) fix test errors
[koha.git]
/
C4
/
Circulation.pm
diff --git
a/C4/Circulation.pm
b/C4/Circulation.pm
index
4a5103f
..
d2f5516
100644
(file)
--- 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 );
}