fixed issue with quotas

This commit is contained in:
vfedosevich 2013-09-27 16:53:59 +03:00
parent eaa655cf4e
commit 789f1402a6
3 changed files with 3 additions and 7 deletions

View file

@ -2262,10 +2262,6 @@ namespace WebsitePanel.EnterpriseServer
int packageCheck = SecurityContext.CheckPackage(org.PackageId, DemandPackage.IsActive);
if (packageCheck < 0) return packageCheck;
int errorCode;
if (!CheckUserQuota(org.Id, out errorCode))
return errorCode;
Organizations orgProxy = GetOrganizationProxy(org.ServiceId);
string groupName = BuildAccountNameWithOrgId(org.OrganizationId, displayName.Replace(" ", ""), org.ServiceId);