Bugzilla – Attachment 124780 Details for
Bug 27032
CanBookBeRenewed is not understandable and needs refactoring
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27032: Remove unused variables
Bug-27032-Remove-unused-variables.patch (text/plain), 1.07 KB, created by
Kyle M Hall (khall)
on 2021-09-10 16:09:20 UTC
(
hide
)
Description:
Bug 27032: Remove unused variables
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-09-10 16:09:20 UTC
Size:
1.07 KB
patch
obsolete
>From 2909b3cd32664c6892e6d06520840856f567ada3 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@helsinki.fi> >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=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Rebased-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Circulation.pm | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 03332f3836..5f3a279514 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2738,8 +2738,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.30.1 (Apple Git-130)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27032
:
113666
|
113667
|
113668
|
118593
|
118594
|
118595
|
121492
|
121493
|
121494
| 124780 |
124781
|
124782