Commit eeb22af6 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

Merge remote-tracking branch 'origin/master' into dev

parents 53db4441 0ce4a314
......@@ -72,7 +72,7 @@ public class DatabaseHandler {
if (workDir != null && workDir.exists()) {
for (final File file : workDir.listFiles()) {
final String fileName = file.getName();
if (fileName.endsWith("h2.db") && fileName.startsWith(dbFileName)) {
if (fileName.endsWith(".db") && fileName.startsWith(dbFileName)) {
PlatformUtil.delete(file, null);
if (file.exists()) {
BonitaStudioLog.info(fileName + " failed to be deleted", CommonRepositoryPlugin.PLUGIN_ID);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment