diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-24 10:45:26 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-24 10:45:26 -0800 |
commit | 98993ee219b6c0cb31f2f3b1608d378b2e028535 (patch) | |
tree | 77a6e8366c27b8b3851e52b6ab81ff62920b970c /src/org/traccar/model | |
parent | a129cfd3159c02b4f3996dbdfb5299ac95a6720c (diff) | |
download | trackermap-server-98993ee219b6c0cb31f2f3b1608d378b2e028535.tar.gz trackermap-server-98993ee219b6c0cb31f2f3b1608d378b2e028535.tar.bz2 trackermap-server-98993ee219b6c0cb31f2f3b1608d378b2e028535.zip |
Refactor geolocation
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Server.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index 66aa7ee75..ad37e7078 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2019 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. @@ -15,14 +15,13 @@ */ package org.traccar.model; -import org.traccar.Context; import org.traccar.database.QueryIgnore; public class Server extends ExtendedModel { @QueryIgnore public String getVersion() { - return Context.getAppVersion(); + return getClass().getPackage().getImplementationVersion(); } public void setVersion(String version) { |