aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-26 07:13:34 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-26 07:13:34 -0700
commitbea527412cfc6a20b385ba5d37fd40284923ee22 (patch)
tree587f5e04ac4ed853f570081c01ec52ce858c531e
parent4620fc2db16f05bcd3578b4f5a3239b229d7c99f (diff)
downloadtrackermap-server-bea527412cfc6a20b385ba5d37fd40284923ee22.tar.gz
trackermap-server-bea527412cfc6a20b385ba5d37fd40284923ee22.tar.bz2
trackermap-server-bea527412cfc6a20b385ba5d37fd40284923ee22.zip
Remove unnecessary stats parameter
-rw-r--r--src/main/java/org/traccar/database/StatisticsManager.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/database/StatisticsManager.java b/src/main/java/org/traccar/database/StatisticsManager.java
index d13f72793..5f4d97263 100644
--- a/src/main/java/org/traccar/database/StatisticsManager.java
+++ b/src/main/java/org/traccar/database/StatisticsManager.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2022 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2024 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -100,8 +100,6 @@ public class StatisticsManager {
statistics.setProtocols(protocols);
}
- statistics.set("modern", config.getString(Keys.WEB_PATH).contains("modern"));
-
users.clear();
deviceProtocols.clear();
deviceMessages.clear();