cleanup nach jedem import
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 16 Nov 2012 17:22:33 +0000 (18:22 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 11 Jan 2013 12:58:12 +0000 (13:58 +0100)
SL/Controller/CsvImport.pm

index a20820e..8834b20 100644 (file)
@@ -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;