]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Removed unnecessarily duplicated code.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 05:51:28 +0000 (07:51 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 05:51:28 +0000 (07:51 +0200)
src/lib-storage/index/index-transaction.c

index c24a9805250963fdb389be3217c3ac2884bd7944..b92a82b2782edb498a21266c865d028e5fd551c2 100644 (file)
@@ -85,9 +85,6 @@ void index_transaction_init(struct mailbox_transaction_context *t,
        t->cache_view = mail_cache_view_open(box->cache, t->view);
        t->cache_trans = mail_cache_get_transaction(t->cache_view, t->itrans);
 
-       if ((flags & MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC) != 0)
-               mail_cache_view_update_cache_decisions(t->cache_view, FALSE);
-
        if ((flags & MAILBOX_TRANSACTION_FLAG_NO_CACHE_DEC) != 0)
                mail_cache_view_update_cache_decisions(t->cache_view, FALSE);