Update the delete website function to delete the website directory tree and the remote management access accounts.

This commit is contained in:
Haya Nmeir 2012-09-18 09:14:06 +03:00
parent f7d7bcfafc
commit e45eff5297
7 changed files with 181 additions and 24 deletions

View file

@ -215,9 +215,9 @@ namespace WebsitePanel.Providers.OS
FileUtils.SetQuotaLimitOnFolder(cmdFilePath, virtualFileClusterName, folderPath, quotaLimit, mode, wmiUserName, wmiPassword);
}
public static void DeleteDirRecursive(DirectoryInfo treeRoot)
public virtual void DeleteDirectoryRecursive(string rootPath)
{
FileUtils.DeleteDirectoryRecursive(treeRoot);
FileUtils.DeleteDirectoryRecursive(rootPath);
}
#endregion