diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-04 06:53:17 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-04 06:53:17 -0700 |
commit | 89b317968655904749addb96b08dfd4681631331 (patch) | |
tree | f3297b77c51791a8805f8c612e731d6818214c1f /src/main/java/org/traccar/Context.java | |
parent | ea22ffb859f8bb8fa0a468af192fef395653d645 (diff) | |
download | trackermap-server-89b317968655904749addb96b08dfd4681631331.tar.gz trackermap-server-89b317968655904749addb96b08dfd4681631331.tar.bz2 trackermap-server-89b317968655904749addb96b08dfd4681631331.zip |
Remove order 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 eaf973659..97cfb2bf9 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -36,7 +36,6 @@ import org.traccar.database.LdapProvider; import org.traccar.database.MailManager; import org.traccar.database.MaintenancesManager; import org.traccar.database.NotificationManager; -import org.traccar.database.OrderManager; import org.traccar.database.PermissionsManager; import org.traccar.database.UsersManager; import org.traccar.geocoder.Geocoder; @@ -50,7 +49,6 @@ import org.traccar.model.Geofence; import org.traccar.model.Group; import org.traccar.model.Maintenance; import org.traccar.model.Notification; -import org.traccar.model.Order; import org.traccar.model.User; import org.traccar.notification.EventForwarder; import org.traccar.notification.NotificatorManager; @@ -208,12 +206,6 @@ public final class Context { return maintenancesManager; } - private static OrderManager orderManager; - - public static OrderManager getOrderManager() { - return orderManager; - } - private static SmsManager smsManager; public static SmsManager getSmsManager() { @@ -313,8 +305,6 @@ public final class Context { driversManager = new DriversManager(dataManager); - orderManager = new OrderManager(dataManager); - } private static void initEventsModule() { @@ -370,8 +360,6 @@ public final class Context { return (BaseObjectManager<T>) maintenancesManager; } else if (clazz.equals(Notification.class)) { return (BaseObjectManager<T>) notificationManager; - } else if (clazz.equals(Order.class)) { - return (BaseObjectManager<T>) orderManager; } return null; } |