CMIS-354: fixed AtomPub deleteFolder()

git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1089820 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DotCMIS/binding/atompub/atompub.cs b/DotCMIS/binding/atompub/atompub.cs
index f3313a1..bcf0a30 100644
--- a/DotCMIS/binding/atompub/atompub.cs
+++ b/DotCMIS/binding/atompub/atompub.cs
@@ -1895,6 +1895,11 @@
 

             if (link == null)

             {

+                link = LoadLink(repositoryId, folderId, AtomPubConstants.RelFolderTree, AtomPubConstants.MediatypeDescendants);

+            }

+

+            if (link == null)

+            {

                 ThrowLinkException(repositoryId, folderId, AtomPubConstants.RelDown, AtomPubConstants.MediatypeDescendants);

             }