Revert "bug 11804: Only root admins have a relaxed resource limit now"

This reverts commit 5415bd881b4a5b1b81937171fe494509b5e1619e.
This commit is contained in:
Abhinandan Prateek 2011-11-03 11:00:53 +05:30 committed by root
parent d1047625e4
commit 5e44458ec1
1 changed files with 2 additions and 2 deletions

View File

@ -353,8 +353,8 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
public boolean resourceLimitExceeded(Account account, ResourceType type, long... count) {
long numResources = ((count.length == 0) ? 1 : count[0]);
// Don't place any limits on system or admin accounts for ROOT domain only
if (isAdmin(account.getType()) && account.getDomainId() == 1) {
// Don't place any limits on system or admin accounts
if (isAdmin(account.getType())) {
return false;
}