Delete Leaf error when deleting an user object.
This commit is contained in:
parent
62f092292a
commit
396f8e68e0
2 changed files with 2 additions and 29 deletions
|
@ -105,7 +105,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
{
|
||||
foreach (DirectoryEntry child in entry.Children)
|
||||
{
|
||||
entry.Children.Remove(child);
|
||||
//entry.Children.Remove(child);
|
||||
child.DeleteTree();
|
||||
}
|
||||
entry.CommitChanges();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue