aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-18 13:23:16 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-18 13:23:16 -0700
commitc79c71a734da5cb4c84dd660744e58675b1d6fb7 (patch)
treee1721f5cc3262a674389c836cd77fe90664ecaad /src/main/java/org/traccar/MainModule.java
parent3a293661cd2900c115cfea6037c02d659c57aa52 (diff)
downloadtrackermap-server-c79c71a734da5cb4c84dd660744e58675b1d6fb7.tar.gz
trackermap-server-c79c71a734da5cb4c84dd660744e58675b1d6fb7.tar.bz2
trackermap-server-c79c71a734da5cb4c84dd660744e58675b1d6fb7.zip
Remove device manager
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index d57ee5d38..439dcd1d9 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -30,7 +30,6 @@ import org.eclipse.jetty.util.URIUtil;
import org.traccar.broadcast.BroadcastService;
import org.traccar.config.Config;
import org.traccar.config.Keys;
-import org.traccar.database.DeviceManager;
import org.traccar.database.LdapProvider;
import org.traccar.database.StatisticsManager;
import org.traccar.geocoder.AddressFormat;
@@ -113,11 +112,6 @@ public class MainModule extends AbstractModule {
(ContextResolver<ObjectMapper>) clazz -> Main.getInjector().getInstance(ObjectMapper.class));
}
- @Provides
- public static DeviceManager provideDeviceManager() {
- return Context.getDeviceManager();
- }
-
@Singleton
@Provides
public static SmsManager provideSmsManager(Config config, Client client) {