diff options
author | Paweł Spychalski <pspychalski@gmail.com> | 2017-01-24 23:41:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 23:41:27 +0300 |
commit | 0ab6c7b8493fc5a7bcf9ebf7dd7c334ab4f618bc (patch) | |
tree | 2711899ad3dda3578f0657401020e0d0a7904bf8 /main.js | |
parent | 5643c9f312daa0bcd0f4b4aa67b4c00f3e2dbab4 (diff) | |
parent | 604adf7dae5c12fe9aa8fa548c86a4c2d4165c40 (diff) |
Merge pull request #117 from iNavFlight/version-check-disabled
update check removed
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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'); |