]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere.
authorTimo Sirainen <tss@iki.fi>
Wed, 16 Dec 2009 23:18:02 +0000 (18:18 -0500)
committerTimo Sirainen <tss@iki.fi>
Wed, 16 Dec 2009 23:18:02 +0000 (18:18 -0500)
--HG--
branch : HEAD

src/imap/imap-sync.c
src/lib-storage/mail-storage.h

index de743926b0c7605f6af02cb41b6586eaf20a6994..2bded001138166d628cac60b048d780a704d50d8 100644 (file)
@@ -559,8 +559,7 @@ static void get_common_sync_flags(struct client *client,
        if (fast_count != count)
                *flags_r &= ~MAILBOX_SYNC_FLAG_FAST;
 
-       i_assert((*flags_r & (MAILBOX_SYNC_AUTO_STOP |
-                             MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) == 0);
+       i_assert((*flags_r & MAILBOX_SYNC_FLAG_FIX_INCONSISTENT) == 0);
 }
 
 static bool cmd_sync_client(struct client_command_context *sync_cmd)
index f58e784553422d716084f340cd6beabdb8400429..d51738700397d786df2c5f4ee530082387918468 100644 (file)
@@ -146,8 +146,6 @@ enum mailbox_sync_flags {
 
        /* Don't sync expunges from our view */
        MAILBOX_SYNC_FLAG_NO_EXPUNGES           = 0x08,
-       /* Stop auto syncing */
-       MAILBOX_SYNC_AUTO_STOP                  = 0x20,
        /* If mailbox is currently inconsistent, fix it instead of failing. */
        MAILBOX_SYNC_FLAG_FIX_INCONSISTENT      = 0x40,
        /* Syncing after an EXPUNGE command. This is just an informational