Remove type="owner" from the data snapshot. Made the parser choke and there

is no need for it, as there is no other type
0.6.0-stable
Melanie Thielker 2008-10-04 13:41:36 +00:00
parent ee4c01f5e6
commit 5b901c7031
1 changed files with 3 additions and 3 deletions

View File

@ -71,9 +71,9 @@ namespace OpenSim.Region.DataSnapshot.Providers
//TODO: Fix the marshalling system to have less copypasta gruntwork //TODO: Fix the marshalling system to have less copypasta gruntwork
XmlNode user = factory.CreateNode(XmlNodeType.Element, "user", ""); XmlNode user = factory.CreateNode(XmlNodeType.Element, "user", "");
XmlAttribute type = (XmlAttribute)factory.CreateNode(XmlNodeType.Attribute, "type", ""); // XmlAttribute type = (XmlAttribute)factory.CreateNode(XmlNodeType.Attribute, "type", "");
type.Value = "owner"; // type.Value = "owner";
user.Attributes.Append(type); // user.Attributes.Append(type);
//TODO: Create more TODOs //TODO: Create more TODOs
XmlNode username = factory.CreateNode(XmlNodeType.Element, "name", ""); XmlNode username = factory.CreateNode(XmlNodeType.Element, "name", "");