From: Bernd Bleßmann Date: Tue, 10 Jan 2017 11:20:03 +0000 (+0100) Subject: CsvImport: Unbenutzte Variable/Statement entfernt. X-Git-Tag: release-3.5.4~1759 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d5a5d3a1ebf711e20ad7473d600c8e6f42e30f85;p=kivitendo-erp.git CsvImport: Unbenutzte Variable/Statement entfernt. --- 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