Mercurial > dovecot > core-2.2
changeset 10658:9780cd3cc48a HEAD
lib-storage: mailbox can no longer be looked up from mail_index_view.
It's not necessarily anymore and I'm not sure if they should be 1:1.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 07 Feb 2010 16:01:51 +0200 |
parents | e7f066508299 |
children | 7309b5c84ca9 |
files | src/lib-storage/index/index-storage.c src/lib-storage/index/index-storage.h |
diffstat | 2 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-storage.c Sun Feb 07 15:44:33 2010 +0200 +++ b/src/lib-storage/index/index-storage.c Sun Feb 07 16:01:51 2010 +0200 @@ -232,9 +232,6 @@ box->view = mail_index_view_open(box->index); ibox->keyword_names = mail_index_get_keywords(box->index); - MODULE_CONTEXT_SET_FULL(box->view, mail_storage_mail_index_module, - box, &ibox->view_module_ctx); - box->opened = TRUE; index_thread_mailbox_opened(ibox);
--- a/src/lib-storage/index/index-storage.h Sun Feb 07 15:44:33 2010 +0200 +++ b/src/lib-storage/index/index-storage.h Sun Feb 07 16:01:51 2010 +0200 @@ -31,7 +31,6 @@ struct index_mailbox { struct mailbox box; - union mail_index_view_module_context view_module_ctx; enum mail_index_open_flags index_flags; int (*save_commit_pre)(struct mail_save_context *save_ctx);