mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Rescinded special delete of reports.
This commit is contained in:
parent
0eadea1a15
commit
6a12af021d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user