summaryrefslogtreecommitdiff
path: root/service/pixelated/resources/attachments_resource.py
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-02-08 17:54:58 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-02-08 18:10:53 +0100
commit3c6b905d7e5b78e521b2e7692e5e32b7b0c226bc (patch)
treefd889e2aaa4fdd29c372b4d83fdc38453d2c1a2e /service/pixelated/resources/attachments_resource.py
parentc16af6af2fa6798f5c3f9badfb445e87982e9dc3 (diff)
Revert "Issue #549 - Implemented remove attachment"
This reverts commit 9442be5c230e286073244451189ffc05ae6c8083.
Diffstat (limited to 'service/pixelated/resources/attachments_resource.py')
-rw-r--r--service/pixelated/resources/attachments_resource.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/service/pixelated/resources/attachments_resource.py b/service/pixelated/resources/attachments_resource.py
index 401fb321..249d268a 100644
--- a/service/pixelated/resources/attachments_resource.py
+++ b/service/pixelated/resources/attachments_resource.py
@@ -71,9 +71,6 @@ class AttachmentResource(Resource):
match = re.compile('([A-Za-z-]+\/[A-Za-z-]+)').search(content_type)
return match.group(1)
- def render_DELETE(self, request):
- self.mail_service.delete_attachment(self.attachment_id)
-
class AttachmentsResource(BaseResource):
BASE_URL = 'attachment'