fixed bug(update check quota)
This commit is contained in:
parent
7277dbf947
commit
7d2efc49c4
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ namespace WebsitePanel.Portal.HostedSolution
|
||||||
|
|
||||||
var accountType = (ExchangeAccountType)gvUsers.DataKeys[rowIndex][1];
|
var accountType = (ExchangeAccountType)gvUsers.DataKeys[rowIndex][1];
|
||||||
|
|
||||||
if (cntx.Quotas.ContainsKey(Quotas.ORGANIZATION_DELETED_USERS) && accountType != ExchangeAccountType.User)
|
if (Utils.CheckQouta(Quotas.ORGANIZATION_DELETED_USERS, cntx) && accountType != ExchangeAccountType.User)
|
||||||
{
|
{
|
||||||
chkEnableForceArchiveMailbox.Visible = true;
|
chkEnableForceArchiveMailbox.Visible = true;
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ namespace WebsitePanel.Portal.HostedSolution
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
if (cntx.Quotas.ContainsKey(Quotas.ORGANIZATION_DELETED_USERS))
|
if (Utils.CheckQouta(Quotas.ORGANIZATION_DELETED_USERS, cntx))
|
||||||
{
|
{
|
||||||
result = ES.Services.Organizations.SetDeletedUser(PanelRequest.ItemID, int.Parse(hdAccountId.Value), chkEnableForceArchiveMailbox.Checked);
|
result = ES.Services.Organizations.SetDeletedUser(PanelRequest.ItemID, int.Parse(hdAccountId.Value), chkEnableForceArchiveMailbox.Checked);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue