Bug 521780 - "extension upgrade with a moved location breaks extension manager" [r=Mossop]

This commit is contained in:
Alexander Sack 2009-11-09 11:32:13 -06:00
parent f08610879f
commit 657f64ef9f

View File

@ -4483,7 +4483,7 @@ ExtensionManager.prototype = {
}
else {
if (opType == OP_NEEDS_UPGRADE)
ds.setItemProperty(id, "newVersion", null);
ds.setItemProperty(id, EM_R("newVersion"), null);
this._setOp(id, OP_NEEDS_UNINSTALL);
var type = ds.getItemProperty(id, "type");
var restartRequired = this.installRequiresRestart(id, type);