mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Part 2 - Bug 1359577 - Remove code in nsUpdateService.js for platforms that we no longer support. r=mhowell
Removes no longer needed gonk isOSUpdate from the update metadata
This commit is contained in:
parent
3095568feb
commit
db3f8c112e
@ -1285,7 +1285,6 @@ function Update(update) {
|
||||
this._properties = {};
|
||||
this._patches = [];
|
||||
this.isCompleteUpdate = false;
|
||||
this.isOSUpdate = false;
|
||||
this.showPrompt = false;
|
||||
this.showNeverForVersion = false;
|
||||
this.unsupported = false;
|
||||
@ -1343,8 +1342,6 @@ function Update(update) {
|
||||
this.isCompleteUpdate = attr.value == "true";
|
||||
} else if (attr.name == "isSecurityUpdate") {
|
||||
this.isSecurityUpdate = attr.value == "true";
|
||||
} else if (attr.name == "isOSUpdate") {
|
||||
this.isOSUpdate = attr.value == "true";
|
||||
} else if (attr.name == "showNeverForVersion") {
|
||||
this.showNeverForVersion = attr.value == "true";
|
||||
} else if (attr.name == "showPrompt") {
|
||||
@ -1486,7 +1483,6 @@ Update.prototype = {
|
||||
update.setAttribute("displayVersion", this.displayVersion);
|
||||
update.setAttribute("installDate", this.installDate);
|
||||
update.setAttribute("isCompleteUpdate", this.isCompleteUpdate);
|
||||
update.setAttribute("isOSUpdate", this.isOSUpdate);
|
||||
update.setAttribute("name", this.name);
|
||||
update.setAttribute("serviceURL", this.serviceURL);
|
||||
update.setAttribute("showNeverForVersion", this.showNeverForVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user