Fixed Error on ExchangeController CalculateDiskapace
This commit is contained in:
parent
0adda57f62
commit
6187d6f1ce
1 changed files with 14 additions and 11 deletions
|
@ -273,6 +273,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
int exchangeServiceId = PackageController.GetPackageServiceId(org.PackageId, ResourceGroups.Exchange);
|
||||
|
||||
if (exchangeServiceId != 0)
|
||||
{
|
||||
ServiceProvider exchange = GetServiceProvider(exchangeServiceId, org.ServiceId);
|
||||
|
||||
ServiceProviderItemDiskSpace[] itemsDiskspace = exchange.GetServiceItemsDiskSpace(new SoapServiceProviderItem[] { soapOrg });
|
||||
|
@ -285,6 +287,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
// save organization
|
||||
UpdateOrganization(org);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue