aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization/External
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Serialization/External')
-rw-r--r--OpenSim/Framework/Serialization/External/UserProfileSerializer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs b/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs
index de106b2..a8ffa17 100644
--- a/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs
+++ b/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs
@@ -41,7 +41,7 @@ namespace OpenSim.Framework.Serialization.External
41 public const int MAJOR_VERSION = 0; 41 public const int MAJOR_VERSION = 0;
42 public const int MINOR_VERSION = 1; 42 public const int MINOR_VERSION = 1;
43 43
44 public static string Serialize(UserAccount profile) 44 public static string Serialize(UUID userID, string firstName, string lastName)
45 { 45 {
46 StringWriter sw = new StringWriter(); 46 StringWriter sw = new StringWriter();
47 XmlTextWriter xtw = new XmlTextWriter(sw); 47 XmlTextWriter xtw = new XmlTextWriter(sw);
@@ -52,8 +52,8 @@ namespace OpenSim.Framework.Serialization.External
52 xtw.WriteAttributeString("major_version", MAJOR_VERSION.ToString()); 52 xtw.WriteAttributeString("major_version", MAJOR_VERSION.ToString());
53 xtw.WriteAttributeString("minor_version", MINOR_VERSION.ToString()); 53 xtw.WriteAttributeString("minor_version", MINOR_VERSION.ToString());
54 54
55 xtw.WriteElementString("name", profile.FirstName + " " + profile.LastName); 55 xtw.WriteElementString("name", firstName + " " + lastName);
56 xtw.WriteElementString("id", profile.PrincipalID.ToString()); 56 xtw.WriteElementString("id", userID.ToString());
57 xtw.WriteElementString("about", ""); 57 xtw.WriteElementString("about", "");
58 58
59 // Not sure if we're storing this yet, need to take a look 59 // Not sure if we're storing this yet, need to take a look