Bug 18555: (QA-Followup) Remove duplicate code

Remove duplicate code as of comment #7

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marc Véron 2017-08-08 10:05:44 +02:00 committed by Jonathan Druart
parent 3b87ec988d
commit 1b63d3e041

View file

@ -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);