diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2017-01-23 22:21:17 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2017-01-23 22:21:17 +0300 |
commit | 604adf7dae5c12fe9aa8fa548c86a4c2d4165c40 (patch) | |
tree | c220aaf1cc48f85ed8e7c175cdaede8851b5d5d8 | |
parent | 638cf920489c06fc39a4e393cdf77f88e6db2734 (diff) |
update check disabled
-rwxr-xr-x | js/data_storage.js | 2 | ||||
-rw-r--r-- | main.js | 8 |
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', @@ -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'); |