From 2e5f399735258263bc1b172b5312567d1256093c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 8 Mar 2018 12:20:38 -0500 Subject: Port Pale Moon commit a3044d3 - Exclude default theme from update checks. Do this both for TychoAM and WebExAM --- toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm') diff --git a/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm b/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm index 63c16737c..918ba5328 100644 --- a/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm +++ b/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm @@ -929,6 +929,8 @@ this.AddonUpdateChecker = { * down in-progress update requests */ checkForUpdates: function(aId, aUpdateKey, aUrl, aObserver) { - return new UpdateParser(aId, aUpdateKey, aUrl, aObserver); + // Exclude default theme + if (aId != "{972ce4c6-7e08-4474-a285-3208198ce6fd}") + return new UpdateParser(aId, aUpdateKey, aUrl, aObserver); } }; -- cgit v1.2.3