diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-19 23:37:03 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-19 23:37:03 -0700 |
commit | 8249d9f7dc2cd4b7bb32e8d528d387f5ce88a60d (patch) | |
tree | dc2962ede741a42f43a025ee1b2d93213e7d2d3b /src | |
parent | e816b0e9f3023f31b3ed0d984ded755d07dcb9b3 (diff) | |
parent | 252530b36e2b7e09bfe16d301d1106f86ebf178d (diff) | |
download | traccar-server-8249d9f7dc2cd4b7bb32e8d528d387f5ce88a60d.tar.gz traccar-server-8249d9f7dc2cd4b7bb32e8d528d387f5ce88a60d.tar.bz2 traccar-server-8249d9f7dc2cd4b7bb32e8d528d387f5ce88a60d.zip |
Merge pull request #1953 from Abyss777/master
Custom command support for web interface
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/BaseProtocol.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/BaseProtocol.java b/src/org/traccar/BaseProtocol.java index 446f57d65..d1791d673 100644 --- a/src/org/traccar/BaseProtocol.java +++ b/src/org/traccar/BaseProtocol.java @@ -42,6 +42,7 @@ public abstract class BaseProtocol implements Protocol { public void setSupportedCommands(String... commands) { supportedCommands.addAll(Arrays.asList(commands)); + supportedCommands.add(Command.TYPE_CUSTOM); } @Override |