Remove the old XML format parsing. Now additional region params can just be

added as they are already exposed through an API when using Nini. That will
remove the need to always edit RegioInfo just to add a region based setting.
This commit is contained in:
Melanie
2014-04-12 16:58:07 +01:00
parent 18b91fdbe9
commit 5d964a6424
9 changed files with 8 additions and 1238 deletions

View File

@@ -98,7 +98,7 @@ namespace OpenSim.Framework.RegionLoader.Web
xmlSource.Length);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(xmlSource);
if (xmlDoc.FirstChild.Name == "Regions")
if (xmlDoc.FirstChild.Name == "Nini")
{
regionCount = xmlDoc.FirstChild.ChildNodes.Count;
@@ -144,4 +144,4 @@ namespace OpenSim.Framework.RegionLoader.Web
}
}
}
}
}