summaryrefslogtreecommitdiff
path: root/meetingtools/apps/room/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/apps/room/views.py')
-rw-r--r--meetingtools/apps/room/views.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py
index ea8b0fc..dd7e2b1 100644
--- a/meetingtools/apps/room/views.py
+++ b/meetingtools/apps/room/views.py
@@ -46,15 +46,6 @@ def _user_meeting_folder(request,acc):
return session(request,'my_meetings_sco_id')
-
-def user_meeting_folder(user,api):
- userid = user.username
- folders = api.request('sco-search-by-field',
- {'filter-type': 'folder', 'field': 'name', 'query': userid}).et.xpath('//sco[folder-name="User Meetings"]')
- logging.debug("user meetings folder: "+pformat(folders))
- #folder = next((f for f in folders if f.findtext('.//folder-name') == 'User Meetings'), None)
- return folders[0].get('sco-id')
-
def _user_templates(request,acc,folder_sco):
templates = []
with ac_api_client(acc) as api: