diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 13:55:59 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 13:55:59 -0800 |
commit | 6bb57ebef4371459f8912a6d264d69431815d1f6 (patch) | |
tree | fca8fda0366404d4a5441403eff76eea61442297 /src/main/java/org/traccar/api | |
parent | f54ec00be2611c274e442cd6b2fd5ccdcf433ae5 (diff) | |
download | trackermap-server-6bb57ebef4371459f8912a6d264d69431815d1f6.tar.gz trackermap-server-6bb57ebef4371459f8912a6d264d69431815d1f6.tar.bz2 trackermap-server-6bb57ebef4371459f8912a6d264d69431815d1f6.zip |
Remove unnecessary code
Diffstat (limited to 'src/main/java/org/traccar/api')
-rw-r--r-- | src/main/java/org/traccar/api/BaseObjectResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/api/BaseObjectResource.java b/src/main/java/org/traccar/api/BaseObjectResource.java index 07d631ba6..71f3939cb 100644 --- a/src/main/java/org/traccar/api/BaseObjectResource.java +++ b/src/main/java/org/traccar/api/BaseObjectResource.java @@ -171,7 +171,7 @@ public abstract class BaseObjectResource<T extends BaseModel> extends BaseResour } if (baseClass.equals(Group.class) || baseClass.equals(Device.class) || baseClass.equals(User.class)) { if (baseClass.equals(Group.class)) { - Context.getGroupsManager().updateGroupCache(true); + Context.getGroupsManager().refreshItems(); Context.getDeviceManager().updateDeviceCache(true); } Context.getPermissionsManager().refreshDeviceAndGroupPermissions(); |