mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Port Pale Moon commit a3044d3 - Exclude default theme from update checks.
Do this both for TychoAM and WebExAM
This commit is contained in:
parent
427719ff27
commit
45c9880478
2 changed files with 7 additions and 4 deletions
|
|
@ -765,8 +765,9 @@ this.AddonUpdateChecker = {
|
|||
* @return UpdateParser so that the caller can use UpdateParser.cancel() to shut
|
||||
* down in-progress update requests
|
||||
*/
|
||||
checkForUpdates: function AUC_checkForUpdates(aId, aUpdateKey, aUrl,
|
||||
aObserver) {
|
||||
return new UpdateParser(aId, aUpdateKey, aUrl, aObserver);
|
||||
checkForUpdates: function AUC_checkForUpdates(aId, aUpdateKey, aUrl, aObserver) {
|
||||
// Exclude default theme
|
||||
if (aId != "{972ce4c6-7e08-4474-a285-3208198ce6fd}")
|
||||
return new UpdateParser(aId, aUpdateKey, aUrl, aObserver);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue