From: Sven Schöling Date: Fri, 16 Nov 2012 17:22:33 +0000 (+0100) Subject: cleanup nach jedem import X-Git-Tag: release-3.1.0beta1~721 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8ae2bc4fb4c72f3ac907a3e47c0cbd5da23f62c5;p=kivitendo-erp.git cleanup nach jedem import --- diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index a20820eb6..8834b2024 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -38,6 +38,8 @@ __PACKAGE__->run_before('ensure_form_structure'); __PACKAGE__->run_before('check_type', except => [ qw(report) ]); __PACKAGE__->run_before('load_all_profiles'); +__PACKAGE__->run_after('cleanup_reports'); + # # actions # @@ -462,4 +464,8 @@ sub track_progress { } +sub cleanup_reports { + SL::DB::Manager::CsvImportReport->cleanup; +} + 1;