mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17: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,
|
// Makes sure that html reports are properly deleted from disk,
|
||||||
// as there are multiple files so the super directory should be
|
// as there are multiple files so the super directory should be
|
||||||
// deleted.
|
// deleted.
|
||||||
if (report.getReportName().equals("") && report.getSourceModuleName().equals("HTML Report")) {
|
|
||||||
toDelete = toDelete.getParentFile();
|
|
||||||
}
|
|
||||||
if (toDelete.isDirectory()) {
|
if (toDelete.isDirectory()) {
|
||||||
try {
|
try {
|
||||||
FileUtils.deleteDirectory(toDelete);
|
FileUtils.deleteDirectory(toDelete);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user