Made DefaultUserProfileRoot as home for migrated profiles

git-svn-id: svn://10.0.0.236/trunk@36176 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
racham%netscape.com
1999-06-22 01:02:11 +00:00
parent 23c664a127
commit 24de630311

View File

@@ -1866,12 +1866,12 @@ NS_IMETHODIMP nsProfile::MigrateProfile(const char* profileName)
// Get current profile, make the new one a sibling...
nsIFileSpec* newSpec = NS_LocateFileOrDirectory(
nsSpecialFileSpec::App_UserProfileDirectory50);
nsSpecialFileSpec::App_DefaultUserProfileRoot50);
if (!newSpec)
return NS_ERROR_FAILURE;
newSpec->GetFileSpec(&newProfDir);
NS_RELEASE(newSpec);
newProfDir.SetLeafName(profileName);
newProfDir += profileName;
// Call migration service to do the work.