summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
authorLisa Junger <ljunger@thoughtworks.com>2015-01-06 11:45:04 +0100
committerLisa Junger <ljunger@thoughtworks.com>2015-01-06 11:47:16 +0100
commit28c885bf47b9249f95aeb875f5f558911b2193c2 (patch)
treec898a74fe64fb57bf4248b681ef196966d6289c9 /service/pixelated
parentbd903ece01d9a1f85f3459f6495ad342bb64500e (diff)
Issue #135: Removed dead code.
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/adapter/services/mail_service.py4
-rw-r--r--service/pixelated/controllers/mails_controller.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index cb92228c..b828222b 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -62,7 +62,3 @@ class MailService:
def delete_permanent(self, mail_id):
mail = self.mail(mail_id)
self.querier.remove_mail(mail)
-
- def reply_all_template(self, mail_id):
- mail = self.mail(mail_id)
- return mail.to_reply_template()
diff --git a/service/pixelated/controllers/mails_controller.py b/service/pixelated/controllers/mails_controller.py
index dfd1c73b..fb9c9adc 100644
--- a/service/pixelated/controllers/mails_controller.py
+++ b/service/pixelated/controllers/mails_controller.py
@@ -119,10 +119,6 @@ class MailsController:
self._search_engine.index_mail(pixelated_mail)
return respond_json({'ident': pixelated_mail.ident}, request)
- def reply_all_template(self, request, mail_id):
- mail = self._mail_service.reply_all_template(mail_id)
- return respond_json(mail, request)
-
def _format_exception(self, exception):
exception_info = map(str, list(exception.args))
return '\n'.join(exception_info)