changeset 5763:2f0d30828c14 HEAD

Removed MAILBOX_SYNC_FLAG_NO_NEWMAIL handling.
author Timo Sirainen <tss@iki.fi>
date Mon, 18 Jun 2007 00:29:00 +0300
parents 9e762641180d
children 4dcb14706561
files src/lib-storage/index/index-sync.c src/lib-storage/mail-storage.h
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 
 	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;
--- 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 @@
 
 	/* 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
 };