Bug 384006: On compatiblity update datasource receives double update

notifications. r=robstrong
This commit is contained in:
dtownsend@oxymoronical.com 2007-07-09 03:07:14 -07:00
Родитель c164c6d8ce
Коммит 8871a279ff
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -4482,7 +4482,6 @@ ExtensionManager.prototype = {
*/
onUpdateStarted: function() {
LOG("Phone Home Listener: Update Started");
em.datasource.onUpdateStarted();
},
/**
@ -4492,7 +4491,6 @@ ExtensionManager.prototype = {
LOG("Phone Home Listener: Update Ended");
// We are responsible for cleaning up this file!
this._installRDF.remove(false);
em.datasource.onUpdateEnded();
},
/**
@ -4502,7 +4500,6 @@ ExtensionManager.prototype = {
LOG("Phone Home Listener: Update For " + addon.id + " started");
em.datasource.addIncompatibleUpdateItem(addon.name, this._xpi.path,
addon.type, addon.version);
em.datasource.onAddonUpdateStarted(addon);
},
/**
@ -4546,7 +4543,6 @@ ExtensionManager.prototype = {
// We are responsible for cleaning up this file!
InstallLocations.get(aInstallLocationKey).removeFile(this._xpi);
}
em.datasource.onAddonUpdateEnded(addon, status);
},
/**