From 95e671e2f50e4dcb0b7a3eafc54ba2f6bad66679 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 8 Aug 2014 03:36:34 +0100 Subject: [PATCH] remove unused js file that was part of the bad-version-code-fix plugin - which turned out to be a bad idea --- website/bad-version-code-fix.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 website/bad-version-code-fix.js diff --git a/website/bad-version-code-fix.js b/website/bad-version-code-fix.js deleted file mode 100644 index 70345a54..00000000 --- a/website/bad-version-code-fix.js +++ /dev/null @@ -1,21 +0,0 @@ -// this script can be loaded by an IITC plugin, to fix known bad version codes when Niantic have a bad deployment - -(function(){ - - var fixes = { - // 2014-08-02 - broken for 24h+ - '81ad679ab5bc219ef3bcf7ca9b760e917cf0c558': 'afdb91368730a906bae38b2837cc411f880350fa', - - }; - - - var fixed = fixes[nemesis.dashboard.config.CURRENT_VERSION]; - - if (fixed) { - console.warn('VersionCodeFixer: bad nemesis.dashboard.config.CURRENT_VERSION: is '+nemesis.dashboard.config.CURRENT_VERSION+', should be '+fixed); - nemesis.dashboard.config.CURRENT_VERSION = fixed; - } else { - console.log('VersionCodeFixer: no known fixes needed'); - } - -})();