aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/GroupsManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/GroupsManager.java')
-rw-r--r--src/org/traccar/database/GroupsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/GroupsManager.java b/src/org/traccar/database/GroupsManager.java
index c0456085b..c1a07a498 100644
--- a/src/org/traccar/database/GroupsManager.java
+++ b/src/org/traccar/database/GroupsManager.java
@@ -47,7 +47,7 @@ public class GroupsManager extends BaseObjectManager<Group> implements Managable
}
}
- private void updateGroupCache(boolean force) throws SQLException {
+ public void updateGroupCache(boolean force) throws SQLException {
long lastUpdate = groupsLastUpdate.get();
if ((force || System.currentTimeMillis() - lastUpdate > dataRefreshDelay)
&& groupsLastUpdate.compareAndSet(lastUpdate, System.currentTimeMillis())) {