X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/74e45f0fe20741e073b8d7e662e69b921ae8ef89..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/SL/Controller/CsvImport/Base.pm?ds=inline 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