(box->list->props & MAILBOX_LIST_PROP_NO_NOSELECT) == 0)
return 0;
- if (index_storage_mailbox_open(box, FALSE) < 0)
+ if (mailbox_open(box) < 0)
return -1;
/* if alt path already exists and contains files, rebuild storage so
mdbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update)
{
if (!box->opened) {
- if (index_storage_mailbox_open(box, FALSE) < 0)
+ if (mailbox_open(box) < 0)
return -1;
}
if (update->cache_fields != NULL)
dbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update)
{
if (!box->opened) {
- if (index_storage_mailbox_open(box, FALSE) < 0)
+ if (mailbox_open(box) < 0)
return -1;
}
if (update->cache_fields != NULL)