anyway. User doesn't need to see "couldn't use index files" error message.
--HG--
branch : HEAD
index->nodiskspace = FALSE;
index->index_lock_timeout = FALSE;
}
-
-int mail_index_is_in_memory(struct mail_index *index)
-{
- return FALSE; // FIXME
-}
/* Reset the error message. */
void mail_index_reset_error(struct mail_index *index);
-/* Returns TRUE if index is currently only in memory. */
-int mail_index_is_in_memory(struct mail_index *index);
-
/* Apply changes in MAIL_INDEX_SYNC_TYPE_FLAGS typed sync records to given
flags variables. */
void mail_index_sync_flags_apply(const struct mail_index_sync_rec *sync_rec,
get_default_cache_fields(),
get_never_cache_fields());
- if (mail_index_is_in_memory(index) &&
- storage->index_dir != NULL) {
- storage->callbacks->notify_no(&ibox->box,
- "Couldn't use index files",
- storage->callback_context);
- }
-
ibox->view = mail_index_view_open(index);
return ibox;
} while (0);