From af32c1e10611ba7c3b04b965630be3f0febc914e Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Mon, 25 Jul 2005 14:44:02 +0000 Subject: [PATCH] Bug 302016 - When upgrading, extensions don't work until a restart is performed, patch by Rob strong, r+a=me --- toolkit/mozapps/extensions/src/nsExtensionManager.js.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/toolkit/mozapps/extensions/src/nsExtensionManager.js.in b/toolkit/mozapps/extensions/src/nsExtensionManager.js.in index 28fe3ba15df..e74610d0bf8 100644 --- a/toolkit/mozapps/extensions/src/nsExtensionManager.js.in +++ b/toolkit/mozapps/extensions/src/nsExtensionManager.js.in @@ -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);