Rescinded special delete of reports.

This commit is contained in:
Oliver Spohngellert 2016-05-17 10:17:50 -04:00
parent 0eadea1a15
commit 6a12af021d

View File

@ -1643,9 +1643,6 @@ public class Case implements SleuthkitCase.ErrorObserver {
// Makes sure that html reports are properly deleted from disk,
// as there are multiple files so the super directory should be
// deleted.
if (report.getReportName().equals("") && report.getSourceModuleName().equals("HTML Report")) {
toDelete = toDelete.getParentFile();
}
if (toDelete.isDirectory()) {
try {
FileUtils.deleteDirectory(toDelete);