From 1b63d3e041602318b16a51a4b1798fbdc25f34bb Mon Sep 17 00:00:00 2001 From: =?utf8?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 Signed-off-by: Jonathan Druart --- tools/import_borrowers.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index b693017c3f..4ed4bf609f 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.39.5