Fixing the DAO layer acess to maintain the consistancy on implimentation

4.x.x
kamidu 7 years ago
parent 6daf95b78d
commit 09f395660a

@ -898,7 +898,7 @@ public class PolicyManagerImpl implements PolicyManager {
if (policyConfiguration.getCacheEnable()) {
allPolicies = PolicyCacheManagerImpl.getInstance().getAllPolicies();
} else {
allPolicies = policyDAO.getAllPolicies();
allPolicies = this.getPolicies();
}
for (Policy policy : allPolicies) {
if (policy.isUpdated()) {

Loading…
Cancel
Save