Skip to content
Snippets Groups Projects
Commit c3285768 authored by aboeckle's avatar aboeckle
Browse files

OO-4375 Fixed delete files from admin gui

parent 11e25131
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,6 @@ public class VFSTrashController extends FormBasicController implements ProgressD ...@@ -209,7 +209,6 @@ public class VFSTrashController extends FormBasicController implements ProgressD
private void doDelete(List<VersionsDeletedFileRow> rowsToDelete) { private void doDelete(List<VersionsDeletedFileRow> rowsToDelete) {
for(VersionsDeletedFileRow row:rowsToDelete) { for(VersionsDeletedFileRow row:rowsToDelete) {
VFSRevision revision = vfsRepositoryService.getRevision(new VFSRevisionRefImpl(row.getRevisionKey())); VFSRevision revision = vfsRepositoryService.getRevision(new VFSRevisionRefImpl(row.getRevisionKey()));
vfsRepositoryService.deleteRevisions(getIdentity(), Collections.singletonList(revision));
doDelete(revision); doDelete(revision);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment