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:
bsmedberg%covad.net 2005-07-25 14:44:02 +00:00
Родитель 9cf8f45bb9
Коммит af32c1e106
1 изменённых файлов: 0 добавлений и 7 удалений

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

@ -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);