удаление установленных на сервере сапфоров

This commit is contained in:
2023-10-05 01:04:06 +03:00
parent 1489591c9e
commit 6376f72a45
2 changed files with 7 additions and 4 deletions

View File

@@ -179,6 +179,12 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
Utils.forceDeleteWithCheck(TestInterface.getArchive(group_test));
Utils.forceDeleteWithCheck(TestInterface.getServerPath(group_test));
}
} else if (object instanceof ServerSapfor) {
Utils.forceDeleteWithCheck(
new File(
((ServerSapfor) object).home_path
)
);
}
}
@Override