This commit is contained in:
Virtuworks 2014-04-22 08:07:46 -04:00
commit 5f4c5bcc56
6 changed files with 6 additions and 6 deletions

View file

@ -64,7 +64,7 @@ namespace WebsitePanel.Portal.ExchangeServer
{ {
get get
{ {
return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, Cntx); return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, Cntx);
} }
} }

View file

@ -54,7 +54,7 @@ namespace WebsitePanel.Portal.ExchangeServer
{ {
get get
{ {
return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, Cntx); return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, Cntx);
} }
} }

View file

@ -64,7 +64,7 @@ namespace WebsitePanel.Portal.HostedSolution
{ {
get get
{ {
return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, Cntx); return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, Cntx);
} }
} }

View file

@ -64,7 +64,7 @@ namespace WebsitePanel.Portal.HostedSolution
{ {
get get
{ {
return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, Cntx); return Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, Cntx);
} }
} }

View file

@ -189,7 +189,7 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
if (Utils.CheckQouta(Quotas.ORGANIZATION_USERS, cntx)) if (Utils.CheckQouta(Quotas.ORGANIZATION_USERS, cntx))
organizationGroup.MenuItems.Add(CreateMenuItem("Users", "users")); organizationGroup.MenuItems.Add(CreateMenuItem("Users", "users"));
if (Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, cntx)) if (Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, cntx))
organizationGroup.MenuItems.Add(CreateMenuItem("SecurityGroups", "secur_groups")); organizationGroup.MenuItems.Add(CreateMenuItem("SecurityGroups", "secur_groups"));
if (organizationGroup.MenuItems.Count > 0) if (organizationGroup.MenuItems.Count > 0)

View file

@ -60,7 +60,7 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId); PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
bool bSuccess = Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPMANAGEMENT, cntx); bool bSuccess = Utils.CheckQouta(Quotas.ORGANIZATION_SECURITYGROUPS, cntx);
if (!bSuccess) if (!bSuccess)
{ {