aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/Context.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r--src/main/java/org/traccar/Context.java10
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) {