changeset 20877:20b4ec6e8e6d

sdbox: Removed duplicated code.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 17 Oct 2016 12:41:33 +0300
parents 1cd9d3679d04
children 4c1924b74356
files src/lib-storage/index/dbox-single/sdbox-storage.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Oct 17 10:36:17 2016 +0300
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Oct 17 12:41:33 2016 +0300
@@ -344,11 +344,6 @@
 		return 0;
 	}
 
-	if (box->creating) {
-		/* wait for mailbox creation to initialize the index */
-		return 0;
-	}
-
 	/* get/generate mailbox guid */
 	if (sdbox_read_header(mbox, &hdr, FALSE, &need_resize) < 0) {
 		/* looks like the mailbox is corrupted */