From 8832d153b593cd844c9d5a41bf20526e69bf7f15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 22 Mar 2016 12:58:48 +0100 Subject: [PATCH] warnings: SL::Controller::CsvImport::num_imported auf 0 initalisieren --- SL/Controller/CsvImport.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 5183cf623..a17740188 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -31,8 +31,8 @@ use parent qw(SL::Controller::Base); use Rose::Object::MakeMethods::Generic ( scalar => [ qw(type profile file all_profiles all_charsets sep_char all_sep_chars quote_char all_quote_chars escape_char all_escape_chars all_buchungsgruppen all_units - import_status errors headers raw_data_headers info_headers data num_imported num_importable displayable_columns file all_taxzones) ], - 'scalar --get_set_init' => [ qw(worker task_server) ], + import_status errors headers raw_data_headers info_headers data num_importable displayable_columns file all_taxzones) ], + 'scalar --get_set_init' => [ qw(worker task_server num_imported) ], 'array' => [ progress_tracker => { }, add_progress_tracker => { interface => 'add', hash_key => 'progress_tracker' }, @@ -632,6 +632,8 @@ sub init_worker { : die "Program logic error"; } +sub init_num_imported { 0 } + sub setup_help { my ($self) = @_; -- 2.20.1