From 8ae2bc4fb4c72f3ac907a3e47c0cbd5da23f62c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 16 Nov 2012 18:22:33 +0100 Subject: [PATCH] cleanup nach jedem import --- SL/Controller/CsvImport.pm | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.20.1