CLOUDSTACK-7417: Admin cannot archive or delete events for a deleted account.

This commit is contained in:
Sanjay Tripathi 2014-08-25 14:55:58 +05:30
parent 8ce6eba549
commit fc20023411

View File

@ -275,7 +275,7 @@ public class AccountDaoImpl extends GenericDaoBase<AccountVO, Long> implements A
public List<Long> getAccountIdsForDomains(List<Long> domainIds) {
SearchCriteria<Long> sc = AccountIdsSearch.create();
sc.setParameters("ids", domainIds.toArray(new Object[domainIds.size()]));
return customSearch(sc, null);
return customSearchIncludingRemoved(sc, null);
}
@Override