forked from github/server
xmlreader no longer needs to parse settings, that's all in json now.
This commit is contained in:
parent
7c56505057
commit
1a7d6dd91d
|
@ -2231,17 +2231,6 @@ static int parse_main(xmlDocPtr doc)
|
||||||
|
|
||||||
xmlXPathFreeObject(result);
|
xmlXPathFreeObject(result);
|
||||||
|
|
||||||
/* reading eressea/game/param */
|
|
||||||
xpath->node = node;
|
|
||||||
result = xmlXPathEvalExpression(BAD_CAST "param", xpath);
|
|
||||||
nodes = result->nodesetval;
|
|
||||||
for (i = 0; i != nodes->nodeNr; ++i) {
|
|
||||||
xmlNodePtr node = nodes->nodeTab[i];
|
|
||||||
parse_param(&global.parameters, node);
|
|
||||||
}
|
|
||||||
|
|
||||||
xmlXPathFreeObject(result);
|
|
||||||
|
|
||||||
/* reading eressea/game/order */
|
/* reading eressea/game/order */
|
||||||
result = xmlXPathEvalExpression(BAD_CAST "order", xpath);
|
result = xmlXPathEvalExpression(BAD_CAST "order", xpath);
|
||||||
nodes = result->nodesetval;
|
nodes = result->nodesetval;
|
||||||
|
|
Loading…
Reference in New Issue