mirror of
https://github.com/apache/cloudstack
synced 2026-08-28 08:32:40 +00:00
CLOUDSTACK-6513: remove commented code.
This commit is contained in:
parent
3852afa717
commit
412793f9b4
@ -3346,11 +3346,8 @@ public class QueryManagerImpl extends ManagerBase implements QueryService {
|
||||
sc.addAnd("accountId", SearchCriteria.Op.IN, permittedAccountIds.toArray());
|
||||
}
|
||||
} else if (templateFilter == TemplateFilter.sharedexecutable || templateFilter == TemplateFilter.shared) {
|
||||
// only show templates shared by others
|
||||
sc.addAnd("sharedAccountId", SearchCriteria.Op.IN, permittedAccountIds.toArray());
|
||||
// SearchCriteria<TemplateJoinVO> scc = _templateJoinDao.createSearchCriteria();
|
||||
// scc.addOr("accountId", SearchCriteria.Op.IN, permittedAccountIds.toArray());
|
||||
// scc.addOr("sharedAccountId", SearchCriteria.Op.IN, permittedAccountIds.toArray());
|
||||
// sc.addAnd("accountId", SearchCriteria.Op.SC, scc);
|
||||
} else if (templateFilter == TemplateFilter.executable) {
|
||||
SearchCriteria<TemplateJoinVO> scc = _templateJoinDao.createSearchCriteria();
|
||||
scc.addOr("publicTemplate", SearchCriteria.Op.EQ, true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user