зеркало из 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
|
||||
// for updates.
|
||||
var opType = emDS.getItemProperty(aItem.id, "opType");
|
||||
if (opType == OP_NEEDS_INSTALL || opType == OP_NEEDS_UNINSTALL ||
|
||||
opType == OP_NEEDS_UPGRADE) {
|
||||
if (opType) {
|
||||
var status = nsIAddonUpdateCheckListener.STATUS_PENDING_OP;
|
||||
this._updater.checkForDone(aItem, status);
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче