From ab99f791f147b4d8e5a7db22ca8e54678b3e4b7f Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Mon, 20 Feb 2012 00:15:44 +0100 Subject: [PATCH] we don't need the item-sort-def anymore --- openslides/agenda/api.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/openslides/agenda/api.py b/openslides/agenda/api.py index 0e68990b4..38022c9ea 100644 --- a/openslides/agenda/api.py +++ b/openslides/agenda/api.py @@ -27,18 +27,6 @@ def is_summary(): return False -def children_list(items): - """ - Return a list for items with all childitems in the right order. - """ - l = [] - for item in items: - l.append(item) - if item.children: - l += children_list(item.children) - return l - - def gen_confirm_form_for_items(request, message, url, singleitem=None): if singleitem: messages.warning(request, '%s
' % (message, url, csrf(request)['csrf_token'], _("Yes"), _("No")))