diff options
Diffstat (limited to 'apps/patchwork/views/patch.py')
-rw-r--r-- | apps/patchwork/views/patch.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/patchwork/views/patch.py b/apps/patchwork/views/patch.py index 3dac149..66b314e 100644 --- a/apps/patchwork/views/patch.py +++ b/apps/patchwork/views/patch.py @@ -85,23 +85,6 @@ def patch(request, patch_id): form.save() context.add_message('Patch updated') - elif action == 'archive': - patch.archived = True - patch.save() - context.add_message('Patch archived') - - elif action == 'unarchive': - patch.archived = False - patch.save() - context.add_message('Patch un-archived') - - elif action == 'ack': - pass - - elif action == 'delete': - patch.delete() - - context['patch'] = patch context['patchform'] = form context['createbundleform'] = createbundleform |