From 31df9cf0ca0cb3b2be0eff222add51f8a27cf2d7 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 27 Nov 2012 21:30:02 +0100 Subject: safety first --- meetingtools/apps/room/views.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meetingtools/apps/room') diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py index 04797dc..5219061 100644 --- a/meetingtools/apps/room/views.py +++ b/meetingtools/apps/room/views.py @@ -339,12 +339,12 @@ def delete(request,id): if form.is_valid(): with ac_api_client(room.sco.acc) as api: api.request('sco-delete',{'sco-id':room.sco.sco_id},raise_error=False) - clear_acl(room) - room.sco.delete() - if room.folder_sco is not None: - room.folder_sco.delete() - if room.deleted_sco is not None: - room.deleted_sco.delete() + #clear_acl(room) + #room.sco.delete() + #if room.folder_sco is not None: + #room.folder_sco.delete() + #if room.deleted_sco is not None: + #room.deleted_sco.delete() room.delete() return redirect_to("/rooms") else: -- cgit v1.1