bug 11804: Only root admins have a relaxed resource limit

This commit is contained in:
Abhinandan Prateek 2011-11-03 11:15:13 +05:30
parent 5e44458ec1
commit 6e2f732734
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
long numResources = ((count.length == 0) ? 1 : count[0]);
// Don't place any limits on system or admin accounts
if (isAdmin(account.getType())) {
if (isRootAdmin(account.getType())) {
return false;
}