From b246015cad44fb2b1cec9ac7dbd3345f19312612 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Mon, 16 Nov 2020 14:00:15 +0200 Subject: [PATCH] Bug 27032: Remove unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Nick Clemens Rebased-by: Joonas Kylmälä Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- C4/Circulation.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 5da1d80258..3b8b22ace7 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2741,8 +2741,6 @@ already renewed the loan. $error will contain the reason the renewal can not pro sub CanBookBeRenewed { my ( $borrowernumber, $itemnumber, $override_limit, $cron ) = @_; - my $dbh = C4::Context->dbh; - my $renews = 1; my $auto_renew = "no"; my $item = Koha::Items->find($itemnumber) or return ( 0, 'no_item' ); -- 2.39.2