Exchange fix
This commit is contained in:
parent
8994a89611
commit
cf0092bc9f
1 changed files with 10 additions and 2 deletions
|
@ -87,8 +87,16 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
int.TryParse(mailboxPlanSelector.MailboxPlanId, out planId);
|
||||
ExchangeMailboxPlan plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(PanelRequest.ItemID, planId);
|
||||
|
||||
secArchiving.Visible = plan.EnableArchiving;
|
||||
secLitigationHoldSettings.Visible = plan.AllowLitigationHold && Utils.CheckQouta(Quotas.EXCHANGE2007_ALLOWLITIGATIONHOLD, Cntx);
|
||||
if (plan != null)
|
||||
{
|
||||
secArchiving.Visible = plan.EnableArchiving;
|
||||
secLitigationHoldSettings.Visible = plan.AllowLitigationHold && Utils.CheckQouta(Quotas.EXCHANGE2007_ALLOWLITIGATIONHOLD, Cntx);
|
||||
}
|
||||
else
|
||||
{
|
||||
secArchiving.Visible = false;
|
||||
secLitigationHoldSettings.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void BindSettings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue