From 2856dbb072003d39b0c819ec785a1928ddcaa6f2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 15 Mar 2016 23:55:56 +1300 Subject: Remove language from user and server --- database/changelog-3.5.xml | 4 +++- debug.xml | 2 -- src/org/traccar/model/Server.java | 10 ---------- src/org/traccar/model/User.java | 10 ---------- web/app/model/Server.js | 3 --- web/app/model/User.js | 3 --- 6 files changed, 3 insertions(+), 29 deletions(-) diff --git a/database/changelog-3.5.xml b/database/changelog-3.5.xml index 3d1fa6b41..56f4ea65e 100644 --- a/database/changelog-3.5.xml +++ b/database/changelog-3.5.xml @@ -33,8 +33,10 @@ + + + - diff --git a/debug.xml b/debug.xml index b1d5d9f41..8ee2d8360 100644 --- a/debug.xml +++ b/debug.xml @@ -62,7 +62,6 @@ map = :map, bingKey = :bingKey, mapUrl = :mapUrl, - language = :language, distanceUnit = :distanceUnit, speedUnit = :speedUnit, latitude = :latitude, @@ -97,7 +96,6 @@ email = :email, admin = :admin, map = :map, - language = :language, distanceUnit = :distanceUnit, speedUnit = :speedUnit, latitude = :latitude, diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index f03a0aa60..270fd61fa 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -77,16 +77,6 @@ public class Server { this.mapUrl = mapUrl; } - private String language; - - public String getLanguage() { - return language; - } - - public void setLanguage(String language) { - this.language = language; - } - private String distanceUnit; public String getDistanceUnit() { diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index e58311834..f22a2e632 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -80,16 +80,6 @@ public class User { this.map = map; } - private String language; - - public String getLanguage() { - return language; - } - - public void setLanguage(String language) { - this.language = language; - } - private String distanceUnit; public String getDistanceUnit() { diff --git a/web/app/model/Server.js b/web/app/model/Server.js index 796ff58d6..3f6e466d9 100644 --- a/web/app/model/Server.js +++ b/web/app/model/Server.js @@ -36,9 +36,6 @@ Ext.define('Traccar.model.Server', { }, { name: 'mapUrl', type: 'string' - }, { - name: 'language', - type: 'string' }, { name: 'distanceUnit', type: 'string' diff --git a/web/app/model/User.js b/web/app/model/User.js index 237a4d269..35b849187 100644 --- a/web/app/model/User.js +++ b/web/app/model/User.js @@ -36,9 +36,6 @@ Ext.define('Traccar.model.User', { }, { name: 'map', type: 'string' - }, { - name: 'language', - type: 'string' }, { name: 'distanceUnit', type: 'string' -- cgit v1.2.3