mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 57622 - Remove code which gets profile dir from registry. It was wrong for Mac and not used anyway. r=racham, sr=alecf
This commit is contained in:
parent
571a5c5624
commit
eb9e753a50
@ -109,7 +109,6 @@ function AddItem( aChildren, aProfileObject )
|
||||
item.setAttribute("profile_name", aProfileObject.mName );
|
||||
item.setAttribute("rowName", aProfileObject.mName );
|
||||
item.setAttribute("id", ( "profileName_" + aProfileObject.mName ) );
|
||||
item.setAttribute("directory", aProfileObject.mDir );
|
||||
// 23/10/99 - no roaming access yet!
|
||||
// var roaming = document.getElementById("roamingitem");
|
||||
// kids.insertBefore(item,roaming);
|
||||
@ -117,10 +116,9 @@ function AddItem( aChildren, aProfileObject )
|
||||
return item;
|
||||
}
|
||||
|
||||
function Profile ( aName, aDir, aMigrated )
|
||||
function Profile ( aName, aMigrated )
|
||||
{
|
||||
this.mName = aName ? aName : null;
|
||||
this.mDir = aDir ? aDir : null;
|
||||
this.mMigrated = aMigrated ? aMigrated : null;
|
||||
}
|
||||
|
||||
@ -145,9 +143,8 @@ function loadElements()
|
||||
break;
|
||||
|
||||
var migrated = Registry.getString( node.key, "migrated" );
|
||||
var directory = Registry.getString( node.key, "directory" );
|
||||
|
||||
AddItem( "profilekids", new Profile( node.name, directory, migrated ) );
|
||||
AddItem( "profilekids", new Profile( node.name, migrated ) );
|
||||
|
||||
regEnum.next();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user