From 4906d58f7c507613c9ad20c4524afd278fca467c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 20 Jun 2017 14:19:12 +0200 Subject: [PATCH] Bug 18651: [QA Follow-up] Remove unused variable Variable $original_issue_id is not used. The id is retrieved later from $issue when updating accountlines. Signed-off-by: Marcel de Rooy --- C4/Circulation.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index c89624e498..07f1887ca2 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2180,7 +2180,6 @@ sub MarkIssueReturned { C4::Context->dbh->do(q|LOCK TABLE old_issues READ|) unless $do_not_lock; C4::Context->dbh->do(q|LOCK TABLE old_issues WRITE|) unless $do_not_lock; - my $original_issue_id = $issue_id; my $issue = Koha::Checkouts->find( $issue_id ); # FIXME should be fetched earlier # Create the old_issues entry -- 2.39.5