aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/User.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-06 13:43:51 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-06 13:43:51 +0500
commitfe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25 (patch)
tree778b00dd1a6162007cb08239d475884843a678ba /src/org/traccar/model/User.java
parent3e5167131c758dd6e75e0f5d9b265a1514baac0c (diff)
downloadtrackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.tar.gz
trackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.tar.bz2
trackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.zip
Move units to attributes and add volume units
Diffstat (limited to 'src/org/traccar/model/User.java')
-rw-r--r--src/org/traccar/model/User.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index 3557521ab..043c23036 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -22,7 +22,6 @@ import org.traccar.database.QueryIgnore;
import org.traccar.helper.Hashing;
import java.util.Date;
-import java.util.TimeZone;
public class User extends ExtendedModel {
@@ -86,26 +85,6 @@ public class User extends ExtendedModel {
this.map = map;
}
- private String distanceUnit;
-
- public String getDistanceUnit() {
- return distanceUnit;
- }
-
- public void setDistanceUnit(String distanceUnit) {
- this.distanceUnit = distanceUnit;
- }
-
- private String speedUnit;
-
- public String getSpeedUnit() {
- return speedUnit;
- }
-
- public void setSpeedUnit(String speedUnit) {
- this.speedUnit = speedUnit;
- }
-
private double latitude;
public double getLatitude() {
@@ -272,13 +251,4 @@ public class User extends ExtendedModel {
return Hashing.validatePassword(password, hashedPassword, salt);
}
- private String timezone;
-
- public void setTimezone(String timezone) {
- this.timezone = timezone != null ? TimeZone.getTimeZone(timezone).getID() : null;
- }
-
- public String getTimezone() {
- return timezone;
- }
}