Bug 1002086 - UpdateService uses the non-existent nsIAddonUpdateCheckListener interface. r=ehsan

This commit is contained in:
Robert Strong 2014-04-27 16:13:04 -07:00
parent 317909bf2e
commit 1857218158

View File

@ -2932,8 +2932,8 @@ UpdateService.prototype = {
// with the new version of the application.
for (var i = 0; i < this._incompatibleAddons.length; ++i) {
if (this._incompatibleAddons[i].id == addon.id) {
LOG("UpdateService:onAddonUpdateEnded - found update for add-on ID: " +
addon.id);
LOG("UpdateService:onCompatibilityUpdateAvailable - found update for " +
"add-on ID: " + addon.id);
this._incompatibleAddons.splice(i, 1);
}
}
@ -3184,7 +3184,6 @@ UpdateService.prototype = {
_xpcom_factory: UpdateServiceFactory,
QueryInterface: XPCOMUtils.generateQI([Ci.nsIApplicationUpdateService,
Ci.nsIUpdateCheckListener,
Ci.nsIAddonUpdateCheckListener,
Ci.nsITimerCallback,
Ci.nsIObserver])
};