diff options
author | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-02 01:08:59 +0200 |
---|---|---|
committer | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-02 01:08:59 +0200 |
commit | 97c2c3d47a7e6ef094038091649c130d2de4b016 (patch) | |
tree | 091d72f2a7aac024c76d43bfb6c1be6c808ff786 /src/org/traccar/api/resource/DeviceResource.java | |
parent | 9d5b2230caa434db5bff773b4ffa980da2adc15c (diff) | |
download | trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.gz trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.bz2 trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.zip |
Concept update + UI translation support
Diffstat (limited to 'src/org/traccar/api/resource/DeviceResource.java')
-rw-r--r-- | src/org/traccar/api/resource/DeviceResource.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/org/traccar/api/resource/DeviceResource.java b/src/org/traccar/api/resource/DeviceResource.java index 90d3ef675..f7494aa6a 100644 --- a/src/org/traccar/api/resource/DeviceResource.java +++ b/src/org/traccar/api/resource/DeviceResource.java @@ -87,11 +87,4 @@ public class DeviceResource extends BaseResource { return Response.noContent().build(); } - @Path("{id}/supportedcommands") - @GET - public Collection<SupportedCommand> get(@PathParam("id") long id) throws SQLException { - Context.getPermissionsManager().checkDevice(getUserId(), id); - Position latestPosition = Context.getDataManager().getLatestPosition(id); - return Context.getServerManager().getProtocolSuppportedCommands(latestPosition.getProtocol()); - } } |