Commit 8eb38716 authored by Matija Obreza's avatar Matija Obreza
Browse files

FIX: Build fails

parent 0163e53a
......@@ -174,7 +174,11 @@ public class CustomAclServiceImpl implements CustomAclService {
final AclObjectIdentity aclObjectIdentity = getObjectIdentity(target);
if (aclObjectIdentity != null) {
LOG.info("Deleting ACL data of {}", target);
aclObjectIdentityPersistence.delete(aclObjectIdentity.getId());
final List<AclEntry> aclEntries = aclEntryPersistence.findByObjectIdentity(aclObjectIdentity);
if (aclEntries != null) {
aclEntryPersistence.delete(aclEntries);
}
aclObjectIdentityPersistence.delete(aclObjectIdentity);
clearAclCache();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment