summaryrefslogtreecommitdiff
path: root/components/nsBrowserGlue.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/nsBrowserGlue.js')
-rw-r--r--components/nsBrowserGlue.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/components/nsBrowserGlue.js b/components/nsBrowserGlue.js
index bc85f14..8d66c47 100644
--- a/components/nsBrowserGlue.js
+++ b/components/nsBrowserGlue.js
@@ -901,12 +901,7 @@ BrowserGlue.prototype = {
});
}
- let signingRequired;
- if (AppConstants.MOZ_REQUIRE_SIGNING) {
- signingRequired = true;
- } else {
- signingRequired = Services.prefs.getBoolPref("xpinstall.signatures.required");
- }
+ let signingRequired = Services.prefs.getBoolPref("xpinstall.signatures.required");
if (signingRequired) {
let disabledAddons = AddonManager.getStartupChanges(AddonManager.STARTUP_CHANGE_DISABLED);