Fixed: Enabling DNS / Temporary URL not enabling properly for WHMCS
Changed: SmarterMail 5 - 10 now calculates disk space usage using the API not the file system / user path.
This commit is contained in:
parent
3a22ea2ef0
commit
bdd51f2151
6 changed files with 74 additions and 104 deletions
|
@ -310,25 +310,25 @@ namespace WebsitePanel.EnterpriseServer
|
|||
// error while creating mail account
|
||||
throw new Exception("Could not create mail account", ex);
|
||||
}
|
||||
}
|
||||
|
||||
// Instant Alias / Temporary URL
|
||||
if (tempDomain && (domainId > 0))
|
||||
// Instant Alias / Temporary URL
|
||||
if (tempDomain && (domainId > 0))
|
||||
{
|
||||
int instantAliasId = ServerController.CreateDomainInstantAlias("", domainId);
|
||||
if (instantAliasId < 0)
|
||||
{
|
||||
int instantAliasId = ServerController.CreateDomainInstantAlias("", domainId);
|
||||
if (instantAliasId < 0)
|
||||
{
|
||||
// rollback wizard
|
||||
Rollback();
|
||||
// rollback wizard
|
||||
Rollback();
|
||||
|
||||
return instantAliasId;
|
||||
}
|
||||
return instantAliasId;
|
||||
}
|
||||
}
|
||||
|
||||
// Domain DNS Zone
|
||||
if (createZoneRecord && (domainId > 0))
|
||||
{
|
||||
ServerController.EnableDomainDns(domainId);
|
||||
}
|
||||
// Domain DNS Zone
|
||||
if (createZoneRecord && (domainId > 0))
|
||||
{
|
||||
ServerController.EnableDomainDns(domainId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue