summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/patchwork/utils.py')
-rw-r--r--apps/patchwork/utils.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/patchwork/utils.py b/apps/patchwork/utils.py
index fa26aef..b6d86a4 100644
--- a/apps/patchwork/utils.py
+++ b/apps/patchwork/utils.py
@@ -174,23 +174,6 @@ def set_patches(user, project, action, data, patches, context):
form.save(patch)
str = 'updated'
- elif action == 'ack':
- pass
-
- elif action == 'archive':
- patch.archived = True
- patch.save()
- str = 'archived'
-
- elif action == 'unarchive':
- patch.archived = False
- patch.save()
- str = 'un-archived'
-
- elif action == 'delete':
- patch.delete()
- str = 'un-archived'
-
if len(patches) > 0:
if len(patches) == 1: