diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-07 16:38:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-07 16:38:58 -0700 |
commit | b745e3804950fefd24b38937c90c4d5c61219321 (patch) | |
tree | f362ea259e557cc6ffd778fde6b15e59be46d068 /src/main/java/org/traccar/Context.java | |
parent | 32b39cffc6dd705e9aacbe5b8d68bc37106997d2 (diff) | |
download | trackermap-server-b745e3804950fefd24b38937c90c4d5c61219321.tar.gz trackermap-server-b745e3804950fefd24b38937c90c4d5c61219321.tar.bz2 trackermap-server-b745e3804950fefd24b38937c90c4d5c61219321.zip |
Remove drivers manager
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index e5a0c640f..899f8ea54 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -26,7 +26,6 @@ import org.traccar.config.Keys; import org.traccar.database.BaseObjectManager; import org.traccar.database.DataManager; import org.traccar.database.DeviceManager; -import org.traccar.database.DriversManager; import org.traccar.database.GeofenceManager; import org.traccar.database.GroupsManager; import org.traccar.database.IdentityManager; @@ -39,7 +38,6 @@ import org.traccar.helper.Log; import org.traccar.helper.SanitizerModule; import org.traccar.model.BaseModel; import org.traccar.model.Device; -import org.traccar.model.Driver; import org.traccar.model.Geofence; import org.traccar.model.Group; import org.traccar.model.Notification; @@ -178,12 +176,6 @@ public final class Context { return eventForwarder; } - private static DriversManager driversManager; - - public static DriversManager getDriversManager() { - return driversManager; - } - private static SmsManager smsManager; public static SmsManager getSmsManager() { @@ -277,8 +269,6 @@ public final class Context { eventForwarder = new EventForwarder(config); } - driversManager = new DriversManager(dataManager); - } private static void initEventsModule() { @@ -324,8 +314,6 @@ public final class Context { return (BaseObjectManager<T>) usersManager; } else if (clazz.equals(Geofence.class)) { return (BaseObjectManager<T>) geofenceManager; - } else if (clazz.equals(Driver.class)) { - return (BaseObjectManager<T>) driversManager; } else if (clazz.equals(Notification.class)) { return (BaseObjectManager<T>) notificationManager; } |