Bug #1549 --> netcenter account merges with existing account Landing branch changes to the tip.

r=bhuvan
This commit is contained in:
mscott%netscape.com 2000-08-03 00:26:09 +00:00
parent 8df1b6e884
commit 5af6562129

View File

@ -370,6 +370,10 @@ nsProfile::LoadDefaultProfileDir(nsCString & profileURLStr)
}
mCurrentProfileAvailable = PR_TRUE;
// Now we have the right profile, read the user-specific prefs.
rv = prefs->ReadUserPrefs();
if (NS_FAILED(rv)) return rv;
NS_WITH_SERVICE(nsICategoryManager, catman, NS_CATEGORYMANAGER_PROGID, &rv);
if(NS_SUCCEEDED(rv) && catman)
@ -396,10 +400,6 @@ nsProfile::LoadDefaultProfileDir(nsCString & profileURLStr)
}
}
// Now we have the right profile, read the user-specific prefs.
rv = prefs->ReadUserPrefs();
if (NS_FAILED(rv)) return rv;
nsCOMPtr <nsIPrefConverter> pPrefConverter = do_CreateInstance(kPrefConverterCID, &rv);
if (NS_FAILED(rv)) return rv;