diff --git a/pillar/web/nodes/routes.py b/pillar/web/nodes/routes.py index 19ed2dfd..5af09e85 100644 --- a/pillar/web/nodes/routes.py +++ b/pillar/web/nodes/routes.py @@ -47,22 +47,6 @@ def get_node(node_id, user_id): return node.to_dict() -def get_node_children(node_id, node_type_name, user_id): - """This function is currently unused since it does not give significant - performance improvements. - """ - api = system_util.pillar_api() - if node_type_name == 'group': - published_status = ',"properties.status": "published"' - else: - published_status = '' - - children = Node.all({ - 'where': '{"parent": "%s" %s}' % (node_id, published_status), - 'embedded': '{"node_type": 1}'}, api=api) - return children.to_dict() - - @blueprint.route("//jstree") def jstree(node_id): """JsTree view.