Removed testing files

This commit is contained in:
Frank 2021-08-23 15:22:56 +02:00
parent 2344ef9606
commit 922e5c9f26

View file

@ -179,10 +179,7 @@ public class SendFiles extends DataHandler.FromServer {
if (!parentFile.exists()) {
parentFile.mkdirs();
}
//TODO: Disabled for testing. MUST BE ENABLED IN PRODUCTION!!!
if (!BCLib.isDevEnvironment()) {
Files.write(path, data);
}
Files.write(path, data);
if (removeAfter != null){
final String bakFileName = removeAfter.toFile().getName();
String collisionFreeName = bakFileName;