aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-02 17:22:59 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-02 17:22:59 -0700
commit946b0ebb443aaeb27bcc0e736eda8e929da8738c (patch)
tree8d884a5816c45e6a09862c6255f8bb69641ca590
parent6e1d43d86414281ca562c45488b82808936fc980 (diff)
downloadtrackermap-server-946b0ebb443aaeb27bcc0e736eda8e929da8738c.tar.gz
trackermap-server-946b0ebb443aaeb27bcc0e736eda8e929da8738c.tar.bz2
trackermap-server-946b0ebb443aaeb27bcc0e736eda8e929da8738c.zip
Fix permission query
-rw-r--r--src/main/java/org/traccar/storage/DatabaseStorage.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/storage/DatabaseStorage.java b/src/main/java/org/traccar/storage/DatabaseStorage.java
index cd82448e1..34ae7c784 100644
--- a/src/main/java/org/traccar/storage/DatabaseStorage.java
+++ b/src/main/java/org/traccar/storage/DatabaseStorage.java
@@ -323,7 +323,6 @@ public class DatabaseStorage extends Storage {
result.append(" UNION ");
result.append("SELECT DISTINCT ");
- result.append(expandDevices ? "devices." : "all_groups."); // TODO handle reverse (e.g. users by device)
result.append(outputKey);
result.append(" FROM ");
result.append(groupStorageName);