Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-23 22:21:17 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-23 22:21:17 +0300
commit604adf7dae5c12fe9aa8fa548c86a4c2d4165c40 (patch)
treec220aaf1cc48f85ed8e7c175cdaede8851b5d5d8
parent638cf920489c06fc39a4e393cdf77f88e6db2734 (diff)
update check disabled
-rwxr-xr-xjs/data_storage.js2
-rw-r--r--main.js8
2 files changed, 0 insertions, 10 deletions
diff --git a/js/data_storage.js b/js/data_storage.js
index 536359e1..840156e6 100755
--- a/js/data_storage.js
+++ b/js/data_storage.js
@@ -1,8 +1,6 @@
'use strict';
var CONFIGURATOR = {
- 'releaseDate': 1478083274093, // new Date().getTime() - Wed Nov 02 2016 20:41:30 GMT+1000
-
// all versions are specified and compared using semantic versioning http://semver.org/
'apiVersionAccepted': '1.2.1',
'backupRestoreMinApiVersionAccepted': '1.5.0',
diff --git a/main.js b/main.js
index d793ef96..4d4c48cc 100644
--- a/main.js
+++ b/main.js
@@ -38,14 +38,6 @@ $(document).ready(function () {
break;
}
- // check release time to inform people in case they are running old release
- if (CONFIGURATOR.releaseDate > (new Date().getTime() - (86400000 * 60))) { // 1 day = 86400000 miliseconds, * 60 = 2 month window
- console.log('Application version is valid for another: ' + Math.round((CONFIGURATOR.releaseDate - (new Date().getTime() - (86400000 * 60))) / 86400000) + ' days');
- } else {
- console.log('Application version expired');
- GUI.log('You are using an old version of ' + chrome.runtime.getManifest().name + '. There may be a more recent version with improvements and fixes.');
- }
-
chrome.storage.local.get('logopen', function (result) {
if (result.logopen) {
$("#showlog").trigger('click');