Fixed: @hostName is required to create website - removed this requirement

Fixed: Temporary URL / Instant alias is not properly created / assigned to the
created website
Added: New @createZoneRecord parameter on "CreateUserWizard" to allow WHMCS
module to determine if a DNS Zone is to be created or not.
This commit is contained in:
Christopher York 2012-12-11 16:45:17 -06:00
parent da9aafcb26
commit 701d58049b
3 changed files with 35 additions and 25 deletions

View file

@ -436,13 +436,13 @@ namespace WebsitePanel.EnterpriseServer
bool sendAccountLetter,
bool createPackage, int planId, bool sendPackageLetter,
string domainName, bool tempDomain, bool createWebSite,
bool createFtpAccount, string ftpAccountName, bool createMailAccount, string hostName)
bool createFtpAccount, string ftpAccountName, bool createMailAccount, string hostName, bool createZoneRecord)
{
return UserCreationWizard.CreateUserAccount(parentPackageId, username, password,
roleId, firstName, lastName, email, secondaryEmail, htmlMail, sendAccountLetter,
createPackage, planId,
sendPackageLetter, domainName, tempDomain, createWebSite, createFtpAccount, ftpAccountName,
createMailAccount, hostName);
createMailAccount, hostName, createZoneRecord);
}
#endregion