diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-08 17:54:58 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-08 18:10:53 +0100 |
commit | 3c6b905d7e5b78e521b2e7692e5e32b7b0c226bc (patch) | |
tree | fd889e2aaa4fdd29c372b4d83fdc38453d2c1a2e /service/pixelated/adapter/mailstore | |
parent | c16af6af2fa6798f5c3f9badfb445e87982e9dc3 (diff) |
Revert "Issue #549 - Implemented remove attachment"
This reverts commit 9442be5c230e286073244451189ffc05ae6c8083.
Diffstat (limited to 'service/pixelated/adapter/mailstore')
-rw-r--r-- | service/pixelated/adapter/mailstore/leap_attachment_store.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_attachment_store.py b/service/pixelated/adapter/mailstore/leap_attachment_store.py index 2c004abf..982d9222 100644 --- a/service/pixelated/adapter/mailstore/leap_attachment_store.py +++ b/service/pixelated/adapter/mailstore/leap_attachment_store.py @@ -63,9 +63,3 @@ class LeapAttachmentStore(object): def _calc_attachment_id_(self, content, content_type, encoder=encoders.encode_base64): cdoc = self._attachment_to_cdoc(content, content_type, encoder) return cdoc.phash - - @defer.inlineCallbacks - def delete_attachment(self, attachment_id): - doc = yield self.soledad.get_from_index('by-type-and-payloadhash', 'cnt', attachment_id) - doc = doc[0] - yield self.soledad.delete_doc(doc) |