aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/java/org/sonar/db/user/GroupDao.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/user/GroupDao.java')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/user/GroupDao.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/user/GroupDao.java b/sonar-db/src/main/java/org/sonar/db/user/GroupDao.java
index be74102e5c9..a046383ecb1 100644
--- a/sonar-db/src/main/java/org/sonar/db/user/GroupDao.java
+++ b/sonar-db/src/main/java/org/sonar/db/user/GroupDao.java
@@ -115,17 +115,6 @@ public class GroupDao implements Dao {
return mapper(dbSession).selectByOrganizationUuid(organizationUuid);
}
- /**
- * Ensures all users of the specified group have its root flag set or unset depending on whether each of them have the
- * 'admin' permission in the default organization or not.
- */
- public void updateRootFlagOfUsersInGroupFromPermissions(DbSession dbSession, long groupId, String defaultOrganizationUuid) {
- long now = system.now();
- GroupMapper mapper = mapper(dbSession);
- mapper.updateRootUsersOfGroup(groupId, defaultOrganizationUuid, now);
- mapper.updateNonRootUsersOfGroup(groupId, defaultOrganizationUuid, now);
- }
-
private static GroupMapper mapper(DbSession session) {
return session.getMapper(GroupMapper.class);
}