From ff06972d1f2756810aa7c59a2057014d40becb42 Mon Sep 17 00:00:00 2001 From: French Ben Date: Wed, 6 Apr 2016 14:44:46 -0700 Subject: [PATCH] Removed all localstorage checks Signed-off-by: French Ben --- src/utils/SetupUtil.js | 2 -- src/utils/Util.js | 1 - 2 files changed, 3 deletions(-) diff --git a/src/utils/SetupUtil.js b/src/utils/SetupUtil.js index 2e55a8eab..ed624589e 100644 --- a/src/utils/SetupUtil.js +++ b/src/utils/SetupUtil.js @@ -39,7 +39,6 @@ export default { async useVbox () { metrics.track('Retried Setup with VBox'); - localStorage.setItem('settings.useNative', false); router.get().transitionTo('loading'); setupServerActions.error({ error: { message: null }}); _retryPromise.resolve(); @@ -70,7 +69,6 @@ export default { while (true) { try { if (util.isNative()) { - localStorage.setItem('setting.useNative', true); let stats = fs.statSync('/var/run/docker.sock'); if (stats.isSocket()) { await this.nativeSetup(); diff --git a/src/utils/Util.js b/src/utils/Util.js index f383506ac..6e15f07a4 100644 --- a/src/utils/Util.js +++ b/src/utils/Util.js @@ -38,7 +38,6 @@ module.exports = { return process.platform === 'linux'; }, isNative: function () { - // let native = JSON.parse(localStorage.getItem('settings.useNative')); let native = null; if (native === null) { try {