aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/GroupsManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/database/GroupsManager.java b/src/org/traccar/database/GroupsManager.java
index c1a07a498..1d507a26a 100644
--- a/src/org/traccar/database/GroupsManager.java
+++ b/src/org/traccar/database/GroupsManager.java
@@ -76,6 +76,12 @@ public class GroupsManager extends BaseObjectManager<Group> implements Managable
}
@Override
+ public void updateItem(Group group) throws SQLException {
+ checkGroupCycles(group);
+ super.updateItem(group);
+ }
+
+ @Override
protected void updateCachedItem(Group group) {
checkGroupCycles(group);
super.updateCachedItem(group);