From 4b0cc88c96c547528dd31e37c1593eee251f250b Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Mon, 22 Dec 2014 10:00:58 -0200 Subject: Removing unused code --- service/pixelated/adapter/services/mail_service.py | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'service') diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index 722b9a29..f4f37d77 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -47,24 +47,12 @@ class MailService: self.mailboxes.drafts().remove(last_draft_ident) return self.mailboxes.sent().add(mail) - def thread(self, thread_id): - raise NotImplementedError() - def mark_as_read(self, mail_id): return self.mail(mail_id).mark_as_read() def mark_as_unread(self, mail_id): return self.mail(mail_id).mark_as_unread() - def tags_for_thread(self, thread): - raise NotImplementedError() - - def add_tag_to_thread(self, thread_id, tag): - raise NotImplementedError() - - def remove_tag_from_thread(self, thread_id, tag): - raise NotImplementedError() - def delete_mail(self, mail_id): return self.mailboxes.move_to_trash(mail_id) @@ -72,18 +60,6 @@ class MailService: mail = self.mail(mail_id) self.querier.remove_mail(mail) - def save_draft(self, draft): - raise NotImplementedError() - - def draft_reply_for(self, mail_id): - raise NotImplementedError() - - def all_contacts(self, query): - raise NotImplementedError() - - def drafts(self): - raise NotImplementedError() - def reply_all_template(self, mail_id): mail = self.mail(mail_id) return mail.to_reply_template() -- cgit v1.2.3