Commit ec442b83 authored by Romain Bioteau's avatar Romain Bioteau

fix delete handler

parent c0f56c66
......@@ -92,11 +92,9 @@ public class DeleteHandler extends AbstractHandler {
IRepositoryFileStore fileStore = currentRepository.getFileStore(adapter);
if (fileStore != null && !fileStore.canBeDeleted()) {
return false;
} else if (fileStore == null && currentRepository.getRepositoryStore(adapter) != null) {
return false;
}
if (currentRepository.getRepositoryStore(adapter) == null) {
continue;
}
return false;
}
} else {
return false;
......
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