Bug 25508: Add info about caller responsabilities

We are removing the test on the existence of item and patron, callers
must call renewable before.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-04-16 12:07:49 +02:00
parent 97c168704b
commit 59f1dc09ac

View file

@ -912,7 +912,8 @@ sub renewable {
my $renew_result = $line->renew_item;
Conditionally attempt to renew an item and return the outcome. This is
as a consequence of the fine on an item being fully paid off
as a consequence of the fine on an item being fully paid off.
Caller must call renewable before.
=cut