summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/webextensions
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-03-08 12:20:38 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-03-08 12:20:38 -0500
commit2e5f399735258263bc1b172b5312567d1256093c (patch)
tree8d07c6a2aa32f43bb417218a7c5e2a29276fd367 /toolkit/mozapps/webextensions
parent88cfcc8a55dba2ce74c1cc35b08001b53d574100 (diff)
downloaduxp-2e5f399735258263bc1b172b5312567d1256093c.tar.gz
Port Pale Moon commit a3044d3 - Exclude default theme from update checks.
Do this both for TychoAM and WebExAM
Diffstat (limited to 'toolkit/mozapps/webextensions')
-rw-r--r--toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm b/toolkit/mozapps/webextensions/internal/AddonUpdateChecker.jsm
index 63c16737c3..918ba5328f 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);
}
};