From ae7d90ecef6d941a1271c52bedc582b794303867 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Wed, 7 Nov 2007 01:06:40 -0800 Subject: [PATCH] Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+] --- modules/plugin/base/src/nsPluginDirServiceProvider.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/plugin/base/src/nsPluginDirServiceProvider.cpp b/modules/plugin/base/src/nsPluginDirServiceProvider.cpp index 3d062ab8a4e..565722d50dc 100644 --- a/modules/plugin/base/src/nsPluginDirServiceProvider.cpp +++ b/modules/plugin/base/src/nsPluginDirServiceProvider.cpp @@ -278,12 +278,9 @@ nsPluginDirServiceProvider::GetFile(const char *prop, PRBool *persistant, } } } else if (nsCRT::strcmp(prop, NS_WIN_JRE_SCAN_KEY) == 0) { - PRBool isJavaEnabled; nsXPIDLCString strVer; #ifdef OJI - if ((NS_FAILED(prefs->GetBoolPref("security.enable_java", &isJavaEnabled)) - || !isJavaEnabled) || - NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer)))) + if (NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer)))) #endif /* OJI */ return NS_ERROR_FAILURE; verBlock minVer;