зеркало из https://github.com/mozilla/pjs.git
Bug 302016 - When upgrading, extensions don't work until a restart is performed, patch by Rob strong, r+a=me
This commit is contained in:
Родитель
9cf8f45bb9
Коммит
af32c1e106
|
@ -3085,13 +3085,6 @@ ExtensionManager.prototype = {
|
|||
}
|
||||
}
|
||||
|
||||
// Somehow the extensions list went away, and for that reason the new one
|
||||
// generated by this function is going to result in a different compreg.
|
||||
// We must force a restart.
|
||||
var extensionsList = getFile(KEY_PROFILEDIR, [FILE_EXTENSION_MANIFEST]);
|
||||
if (!extensionsList.exists())
|
||||
needsRestart = true;
|
||||
|
||||
// Now update the last app version so we don't do this checking
|
||||
// again.
|
||||
gPref.setCharPref(PREF_EM_LAST_APP_VERSION, currAppVersion);
|
||||
|
|
Загрузка…
Ссылка в новой задаче