diff options
author | NavaL <ayoyo@thoughtworks.com> | 2016-02-12 14:54:43 -0200 |
---|---|---|
committer | NavaL <ayoyo@thoughtworks.com> | 2016-02-12 14:54:43 -0200 |
commit | e889bb5c34d4fcfa0f798134771e9dcb3ab062f6 (patch) | |
tree | 20aea584df2726aadcf1f913b3d458841254eec8 /service/pixelated/adapter/services | |
parent | 6775e960ae327312f715618a6e5b3f47c51d0fa1 (diff) |
Revert "Revert "Issue #549 - Implemented remove attachment in server side""
This reverts commit 91223543207c4a56370ff609df9912a5b11262d7.
Diffstat (limited to 'service/pixelated/adapter/services')
-rw-r--r-- | service/pixelated/adapter/services/mail_service.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index 5ec3a298..d2506dcf 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -152,6 +152,5 @@ class MailService(object): def delete_permanent(self, mail_id): yield self.mail_store.delete_mail(mail_id) - @defer.inlineCallbacks def delete_attachment(self, attachment_id): - yield self.attachment_store.delete_attachment(attachment_id) + return self.attachment_store.delete_attachment(attachment_id) |