Exchange archive fix

This commit is contained in:
dev_amdtel 2014-09-26 23:37:57 +04:00
parent 3ce38e5bb1
commit 9b055347ba

View file

@ -3092,8 +3092,7 @@ namespace WebsitePanel.EnterpriseServer
long archiveQuotaKB = 0;
long archiveWarningQuotaKB = 0;
string RetentionPolicy = "";
if (retentionPolicyId > 0)
{
ExchangeMailboxPlan mailboxPlan = GetExchangeMailboxPlan(itemId, mailboxPlanId);
if ( mailboxPlan != null)
{
@ -3102,6 +3101,8 @@ namespace WebsitePanel.EnterpriseServer
}
if (retentionPolicyId > 0)
{
ExchangeMailboxPlan retentionPolicy = GetExchangeMailboxPlan(itemId, retentionPolicyId);
if (retentionPolicy != null)
{