aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Server.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/Server.java')
-rw-r--r--src/org/traccar/model/Server.java5
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) {