From 0c5d7a92f11e90165c4fb0c5f085d82b958523ad Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Mon, 25 Jun 2018 11:10:36 -0400 Subject: [AllAM] Effectively revert Bug 521905 - Make extensions.checkCompatibility be per-application-version --- toolkit/mozapps/extensions/AddonManager.jsm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'toolkit/mozapps/extensions') diff --git a/toolkit/mozapps/extensions/AddonManager.jsm b/toolkit/mozapps/extensions/AddonManager.jsm index d4c3a6967..29cf74749 100644 --- a/toolkit/mozapps/extensions/AddonManager.jsm +++ b/toolkit/mozapps/extensions/AddonManager.jsm @@ -47,8 +47,7 @@ const KEY_APPDIR = "XCurProcD"; const FILE_BLOCKLIST = "blocklist.xml"; const BRANCH_REGEXP = /^([^\.]+\.[0-9]+[a-z]*).*/gi; -const PREF_EM_CHECK_COMPATIBILITY_BASE = "extensions.checkCompatibility"; -var PREF_EM_CHECK_COMPATIBILITY; +const PREF_EM_CHECK_COMPATIBILITY = "extensions.checkCompatibility"; const TOOLKIT_ID = "toolkit@mozilla.org"; @@ -809,9 +808,6 @@ var AddonManagerInternal = { this.validateBlocklist(); } - PREF_EM_CHECK_COMPATIBILITY = PREF_EM_CHECK_COMPATIBILITY_BASE + "." + - Services.appinfo.version.replace(BRANCH_REGEXP, "$1"); - try { gCheckCompatibility = Services.prefs.getBoolPref(PREF_EM_CHECK_COMPATIBILITY); } catch (e) {} -- cgit v1.2.3