From 2273341a2d22ac86dbc2c23481c06fe7d2c91a0f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 12 Oct 2018 15:04:16 +1300 Subject: Remove unused variable --- web/app/view/SettingsMenuController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/app/view') diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index fdc1e53..b838fb4 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -37,11 +37,10 @@ Ext.define('Traccar.view.SettingsMenuController', { ], init: function () { - var admin, manager, readonly, deviceReadonly; + var admin, manager, readonly; admin = Traccar.app.getUser().get('administrator'); manager = Traccar.app.getUser().get('userLimit') !== 0; readonly = Traccar.app.getPreference('readonly', false); - deviceReadonly = Traccar.app.getUser().get('deviceReadonly'); if (admin) { this.lookupReference('settingsServerButton').setHidden(false); this.lookupReference('settingsStatisticsButton').setHidden(false); -- cgit v1.2.3