зеркало из https://github.com/mozilla/gecko-dev.git
Bug 868306 - Ignoring extensions.%ID%.getAddons.cache.enabled preference for addon submission; r=gps
Bug 868306 - Ignoring extensions.%ID%.getAddons.cache.enabled preference for addon submission; r=gps
This commit is contained in:
Родитель
cbef21edec
Коммит
f7448302ab
|
@ -842,13 +842,6 @@ AddonsProvider.prototype = Object.freeze({
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let optOutPref = "extensions." + addon.id + ".getAddons.cache.enabled";
|
|
||||||
if (!this._prefs.get(optOutPref, true)) {
|
|
||||||
this._log.debug("Ignoring add-on that's opted out of AMO updates: " +
|
|
||||||
addon.id);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
let obj = {};
|
let obj = {};
|
||||||
for (let field of this.COPY_FIELDS) {
|
for (let field of this.COPY_FIELDS) {
|
||||||
obj[field] = addon[field];
|
obj[field] = addon[field];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче