aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-09 17:56:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-09 17:56:37 -0700
commitadafc5f6130854dd88c191dd04489073419ee41d (patch)
treee101d03069894f9a2fbfd388d9b3f93424cbe4d0 /src/main/java/org/traccar/Context.java
parent29b5d05cfd66a9f51b7ce272c1fb07077bc715b2 (diff)
downloadtrackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.tar.gz
trackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.tar.bz2
trackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.zip
Remove SMS from context
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r--src/main/java/org/traccar/Context.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java
index 3e4cc1bb9..5011764c6 100644
--- a/src/main/java/org/traccar/Context.java
+++ b/src/main/java/org/traccar/Context.java
@@ -43,9 +43,6 @@ import org.traccar.notification.EventForwarder;
import org.traccar.notification.NotificatorManager;
import org.traccar.session.ConnectionManager;
import org.traccar.session.cache.CacheManager;
-import org.traccar.sms.HttpSmsClient;
-import org.traccar.sms.SmsManager;
-import org.traccar.sms.SnsSmsClient;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
@@ -153,12 +150,6 @@ public final class Context {
return eventForwarder;
}
- private static SmsManager smsManager;
-
- public static SmsManager getSmsManager() {
- return smsManager;
- }
-
private static class ObjectMapperContextResolver implements ContextResolver<ObjectMapper> {
@Override
@@ -207,12 +198,6 @@ public final class Context {
connectionManager = new ConnectionManager();
- if (config.hasKey(Keys.SMS_HTTP_URL)) {
- smsManager = new HttpSmsClient();
- } else if (config.hasKey(Keys.SMS_AWS_REGION)) {
- smsManager = new SnsSmsClient();
- }
-
initEventsModule();
if (config.hasKey(Keys.EVENT_FORWARD_URL)) {