wsp-10046 implement correct organizational stats for exchange as mailbox stats is not included in organizationcontroller
This commit is contained in:
parent
f0da9d3dec
commit
1629e390f3
1 changed files with 4 additions and 2 deletions
|
@ -1124,7 +1124,9 @@ namespace WebsitePanel.EnterpriseServer
|
|||
{
|
||||
ExchangeServerController.AddAuthoritativeDomain(itemId, domain.DomainId);
|
||||
|
||||
if (orgStats.AllocatedMailboxes == -1)
|
||||
OrganizationStatistics orgStatsExchange = ExchangeServerController.GetOrganizationStatistics(itemId);
|
||||
|
||||
if (orgStatsExchange.AllocatedMailboxes == -1)
|
||||
{
|
||||
ExchangeAcceptedDomainType newDomainType = ExchangeAcceptedDomainType.InternalRelay;
|
||||
ChangeOrganizationDomainType(itemId, domain.DomainId, newDomainType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue