This commit is contained in:
Lucio Lelii 2018-10-29 16:40:53 +00:00
parent c962ddc98a
commit c0b16ab0ba
1 changed files with 0 additions and 1 deletions

View File

@ -242,7 +242,6 @@ public class WorkspaceManager {
try{
ses = repository.getRepository().login(CredentialHandler.getAdminCredentials(context));
Node trashNode = ses.getNode(trashPath.toPath());
authChecker.checkWriteAuthorizationControl(ses, trashNode.getIdentifier(), false);
List<Item> itemsToDelete = Utils.getItemList(trashNode, Excludes.ALL, null, true, null);
trashHandler.removeNodes(ses, itemsToDelete);
toReturn = trashNode.getIdentifier();