dovecot: Removed MAILBOX_SYNC_FLAG_NO_NEWMAIL handling.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 18 00:34:25 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/2f0d30828c14
changeset: 5763:2f0d30828c14
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 18 00:29:00 2007 +0300
description:
Removed MAILBOX_SYNC_FLAG_NO_NEWMAIL handling.
diffstat:
2 files changed, 1 insertion(+), 5 deletions(-)
src/lib-storage/index/index-sync.c | 4 +---
src/lib-storage/mail-storage.h | 2 --
diffs (26 lines):
diff -r 9e762641180d -r 2f0d30828c14 src/lib-storage/index/index-sync.c
--- a/src/lib-storage/index/index-sync.c Mon Jun 18 00:28:07 2007 +0300
+++ b/src/lib-storage/index/index-sync.c Mon Jun 18 00:29:00 2007 +0300
@@ -148,9 +148,7 @@ index_mailbox_sync_init(struct mailbox *
ctx->messages_count = mail_index_view_get_messages_count(ibox->view);
- if ((flags & MAILBOX_SYNC_FLAG_NO_NEWMAIL) != 0)
- sync_type = MAIL_INDEX_VIEW_SYNC_TYPE_NOAPPENDS_NOEXPUNGES;
- else if ((flags & MAILBOX_SYNC_FLAG_NO_EXPUNGES) != 0)
+ if ((flags & MAILBOX_SYNC_FLAG_NO_EXPUNGES) != 0)
sync_type = MAIL_INDEX_VIEW_SYNC_TYPE_NOEXPUNGES;
else
sync_type = MAIL_INDEX_VIEW_SYNC_TYPE_ALL;
diff -r 9e762641180d -r 2f0d30828c14 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h Mon Jun 18 00:28:07 2007 +0300
+++ b/src/lib-storage/mail-storage.h Mon Jun 18 00:29:00 2007 +0300
@@ -125,8 +125,6 @@ enum mailbox_sync_flags {
/* Don't sync expunges from our view */
MAILBOX_SYNC_FLAG_NO_EXPUNGES = 0x08,
- /* Don't show new mail */
- MAILBOX_SYNC_FLAG_NO_NEWMAIL = 0x10,
/* Stop auto syncing */
MAILBOX_SYNC_AUTO_STOP = 0x20
};
More information about the dovecot-cvs
mailing list