From d5a5d3a1ebf711e20ad7473d600c8e6f42e30f85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 10 Jan 2017 12:20:03 +0100 Subject: [PATCH] CsvImport: Unbenutzte Variable/Statement entfernt. --- SL/Controller/CsvImport/Base.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/SL/Controller/CsvImport/Base.pm b/SL/Controller/CsvImport/Base.pm index e9049899b..2deae4571 100644 --- a/SL/Controller/CsvImport/Base.pm +++ b/SL/Controller/CsvImport/Base.pm @@ -465,8 +465,6 @@ sub save_objects { $self->controller->track_progress(phase => 'saving data', progress => 0); # scale from 45..95%; - my $dbh = $data->[0]{object}->db->dbh; - my $last_index = $#$data; my $chunk_size = 100; # one transaction and progress update every 100 objects -- 2.20.1