// 2. Delete named group logon_denied
DB db = DBFactory.getInstance();
db.delete("from org.olat.basesecurity.NamedGroupImpl as ngroup where ngroup.groupName = ?", new Object[] { "logondenied" },// so far: Constants.GROUP_LOGON_DENIED
new Type[] { Hibernate.STRING });
// 3. Delete security-group 'Logon_denied'
secManager.deleteSecurityGroup(loginDeniedGroup);
log.audit("Delete security-group 'Logon_denied'");
}
uhd.setBooleanDataValue(TASK_MIGRATE_LOGIN_DENIED_SECURITY_GROUP_DONE, true);
log.audit("+---------------------------------------------------------------------------------+");