diff options
author | Leif Johansson <leifj@sunet.se> | 2012-11-27 21:30:02 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-11-27 21:30:02 +0100 |
commit | 31df9cf0ca0cb3b2be0eff222add51f8a27cf2d7 (patch) | |
tree | 2f21bf401f48276281e5d5e8c8ddeae536f012d5 | |
parent | 8183fde1695ff362885f64fee276f410f19bb343 (diff) |
safety first
-rw-r--r-- | meetingtools/apps/room/views.py | 12 |
1 files changed, 6 insertions, 6 deletions
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: |