From b4bcddbf4f480f14a8a7c1042771f40ee52f67e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Tue, 8 Aug 2017 10:05:44 +0200 Subject: [PATCH] Bug 18555: (QA-Followup) Remove duplicate code Remove duplicate code as of comment #7 --- tools/import_borrowers.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index b693017..4ed4bf6 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -121,12 +121,6 @@ if ( $uploadborrowers && length($uploadborrowers) > 0 ) { token => scalar $input->param('csrf_token'), }); - #create a patronlist - my $createpatronlist = $input->param('createpatronlist'); - my $dt = dt_from_string(); - my $timestamp = $dt->ymd('-').' '.$dt->hms(':'); - my $patronlistname = $uploadborrowers. ' (' . $timestamp .')'; - push @feedback, {feedback=>1, name=>'filename', value=>$uploadborrowers, filename=>$uploadborrowers}; my $handle = $input->upload('uploadborrowers'); my $uploadinfo = $input->uploadInfo($uploadborrowers); -- 2.1.4