Fixed: Do not allow to delete a domain when used by hosting organization objects
This commit is contained in:
parent
18a4608ad2
commit
3e8a53a468
8 changed files with 64 additions and 5 deletions
|
@ -1534,6 +1534,10 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if(domain == null)
|
||||
return -1;
|
||||
|
||||
if (DataProvider.CheckDomainUsedByHostedOrganization(domain.DomainName) == 1)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
// delete domain on Exchange
|
||||
int[] hubTransportServiceIds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue