diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-18 14:36:10 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-18 14:37:14 -0200 |
commit | 8e57412dcd7fe8749ebed645e048309618ed01b5 (patch) | |
tree | d736ae52d3fbffee06e482b19702c78041c83f71 /service/pixelated/controllers | |
parent | 2d07349df9eb7fd3a197c0c3a9f7180af441f82c (diff) |
\#203 & #204 & #205: fixing client and api for buld mark as read/unread and delete, functional tests are still broken, investigating...
Diffstat (limited to 'service/pixelated/controllers')
-rw-r--r-- | service/pixelated/controllers/mails_controller.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/service/pixelated/controllers/mails_controller.py b/service/pixelated/controllers/mails_controller.py index 7166a51d..eba97784 100644 --- a/service/pixelated/controllers/mails_controller.py +++ b/service/pixelated/controllers/mails_controller.py @@ -44,16 +44,6 @@ class MailsController: mail = self._mail_service.mail(mail_id) return respond_json(mail.as_dict(), request) - def mark_mail_as_read(self, request, mail_id): - mail = self._mail_service.mark_as_read(mail_id) - self._search_engine.index_mail(mail) - return "" - - def mark_mail_as_unread(self, request, mail_id): - mail = self._mail_service.mark_as_unread(mail_id) - self._search_engine.index_mail(mail) - return "" - def mark_many_mail_unread(self, request): content_dict = json.load(request.content) idents = content_dict.get('idents') |