diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 12:26:22 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 12:26:22 -0700 |
commit | b23ca6de800be9f2bbedcc4109a65f06bb245713 (patch) | |
tree | 7db9141b1413e7093ec252d9eab6accb4c10e55a /src/main/java/org/traccar/Context.java | |
parent | 24140619789c88d96364673240b172bbd2ae2c82 (diff) | |
download | trackermap-server-b23ca6de800be9f2bbedcc4109a65f06bb245713.tar.gz trackermap-server-b23ca6de800be9f2bbedcc4109a65f06bb245713.tar.bz2 trackermap-server-b23ca6de800be9f2bbedcc4109a65f06bb245713.zip |
Remove permissions manager
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 5f555858d..246ed9f02 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -19,7 +19,6 @@ import org.traccar.config.Config; import org.traccar.database.BaseObjectManager; import org.traccar.database.DataManager; import org.traccar.database.DeviceManager; -import org.traccar.database.PermissionsManager; import org.traccar.helper.Log; import org.traccar.model.BaseModel; import org.traccar.model.Device; @@ -41,12 +40,6 @@ public final class Context { return deviceManager; } - private static PermissionsManager permissionsManager; - - public static PermissionsManager getPermissionsManager() { - return permissionsManager; - } - public static void init(String configFile) throws Exception { try { @@ -62,9 +55,6 @@ public final class Context { config, Main.getInjector().getInstance(DataManager.class)); - permissionsManager = new PermissionsManager( - Main.getInjector().getInstance(DataManager.class)); - } public static <T extends BaseModel> BaseObjectManager<T> getManager(Class<T> clazz) { |