diff options
author | kaeff <hi@kaeff.net> | 2015-09-07 17:03:48 +0200 |
---|---|---|
committer | kaeff <hi@kaeff.net> | 2015-09-08 14:06:48 +0200 |
commit | e926b0e3997976c0fddeb59d85ea79e33311d391 (patch) | |
tree | 35448e5ad390a89ebadd72840dff6493b12edb56 | |
parent | 0a89214d79758992e3c81c5bc279a6831ac6bcb0 (diff) |
Remove unused SoledadQuerier from Services
-rw-r--r-- | service/pixelated/config/services.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py index 0a689a4b..dde8c55d 100644 --- a/service/pixelated/config/services.py +++ b/service/pixelated/config/services.py @@ -2,7 +2,6 @@ from pixelated.adapter.mailstore.searchable_mailstore import SearchableMailStore from pixelated.adapter.services.mail_service import MailService from pixelated.adapter.model.mail import InputMail from pixelated.adapter.services.mail_sender import MailSender -from pixelated.adapter.soledad.soledad_querier import SoledadQuerier from pixelated.adapter.search import SearchEngine from pixelated.adapter.services.draft_service import DraftService from pixelated.adapter.listeners.mailbox_indexer_listener import listen_all_mailboxes @@ -19,8 +18,6 @@ class Services(object): def setup(self, leap_home, leap_session): InputMail.FROM_EMAIL_ADDRESS = leap_session.account_email() - soledad_querier = SoledadQuerier(soledad=leap_session.soledad_session.soledad) - search_index_storage_key = self.setup_search_index_storage_key(leap_session.soledad_session.soledad) yield self.setup_search_engine( leap_home, @@ -32,7 +29,6 @@ class Services(object): self.mail_service = self.setup_mail_service( leap_session, - soledad_querier, self.search_engine) self.keymanager = leap_session.nicknym @@ -56,7 +52,7 @@ class Services(object): search_engine = SearchEngine(key, agent_home=leap_home) self.search_engine = search_engine - def setup_mail_service(self, leap_session, soledad_querier, search_engine): + def setup_mail_service(self, leap_session, search_engine): # if False: FIXME # yield pixelated_mailboxes.add_welcome_mail_for_fresh_user() pixelated_mail_sender = MailSender( |