зеркало из https://github.com/mozilla/pjs.git
Bug 389641: RDFItemUpdater shouldn't check for updates for items with
pending optypes. r=robstrong
This commit is contained in:
Родитель
8736a5a87b
Коммит
c24e436e83
|
@ -6133,8 +6133,7 @@ RDFItemUpdater.prototype = {
|
||||||
// Items that have a pending install, uninstall, or upgrade are not checked
|
// Items that have a pending install, uninstall, or upgrade are not checked
|
||||||
// for updates.
|
// for updates.
|
||||||
var opType = emDS.getItemProperty(aItem.id, "opType");
|
var opType = emDS.getItemProperty(aItem.id, "opType");
|
||||||
if (opType == OP_NEEDS_INSTALL || opType == OP_NEEDS_UNINSTALL ||
|
if (opType) {
|
||||||
opType == OP_NEEDS_UPGRADE) {
|
|
||||||
var status = nsIAddonUpdateCheckListener.STATUS_PENDING_OP;
|
var status = nsIAddonUpdateCheckListener.STATUS_PENDING_OP;
|
||||||
this._updater.checkForDone(aItem, status);
|
this._updater.checkForDone(aItem, status);
|
||||||
return;
|
return;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче