aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-13 22:15:49 +1200
committerGitHub <noreply@github.com>2017-09-13 22:15:49 +1200
commit8a45a056b7e0814526904e915c3886b29ba2833a (patch)
treedc821e2134f4ae2c9881ce8de006a29b33da289f /src/org/traccar/database/DataManager.java
parente05f0b83a911c522123a5a2cd14d6c16bd2de027 (diff)
parent7530522cbca477cb822cb494ffe12480e5237934 (diff)
downloadtrackermap-server-8a45a056b7e0814526904e915c3886b29ba2833a.tar.gz
trackermap-server-8a45a056b7e0814526904e915c3886b29ba2833a.tar.bz2
trackermap-server-8a45a056b7e0814526904e915c3886b29ba2833a.zip
Merge pull request #3522 from Abyss777/saved_commands
Implement Saved Commands
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 4535a9c38..261541b4d 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -51,6 +51,7 @@ import org.traccar.model.ManagedUser;
import org.traccar.model.Permission;
import org.traccar.model.BaseModel;
import org.traccar.model.Calendar;
+import org.traccar.model.Command;
import org.traccar.model.Position;
import org.traccar.model.Server;
import org.traccar.model.Statistics;
@@ -390,6 +391,8 @@ public class DataManager {
return Attribute.class;
case "calendar":
return Calendar.class;
+ case "command":
+ return Command.class;
default:
throw new ClassNotFoundException();
}