__PACKAGE__->run_before('check_type', except => [ qw(report) ]);
__PACKAGE__->run_before('load_all_profiles');
+__PACKAGE__->run_after('cleanup_reports');
+
#
# actions
#
push @raw_methods, $self->raw_data_headers->{headers}->[$i];
}
- $::lxdebug->dump(0, "methods",
- [ \@info_methods,
- \@methods,
- \@raw_methods ]
- );
-
$sth->execute($report->id, $_, 0, $headers[$_]) for 0 .. $#headers;
# col offsets
}
+sub cleanup_reports {
+ SL::DB::Manager::CsvImportReport->cleanup;
+}
+
1;