From: Timo Sirainen Date: Thu, 26 Apr 2018 13:42:40 +0000 (+0300) Subject: lib-storage: Remove mail_attachment_detection_options=add-flags-on-fetch parsing X-Git-Tag: 2.2.36.rc1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28ca4c918833322895b7c16af74c282ae1fb103c;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Remove mail_attachment_detection_options=add-flags-on-fetch parsing It wasn't actually used yet. --- diff --git a/src/lib-storage/mail-storage-settings.c b/src/lib-storage/mail-storage-settings.c index 15c92fb993..6728d121fd 100644 --- a/src/lib-storage/mail-storage-settings.c +++ b/src/lib-storage/mail-storage-settings.c @@ -514,8 +514,6 @@ static bool mail_storage_settings_check(void *_set, pool_t pool, if (strcmp(opt, "add-flags-on-save") == 0) { set->parsed_mail_attachment_detection_add_flags_on_save = TRUE; - } else if (strcmp(opt, "add-flags-on-fetch") == 0) { - set->parsed_mail_attachment_detection_add_flags_on_fetch = TRUE; } else if (strcmp(opt, "exclude-inlined") == 0) { set->parsed_mail_attachment_exclude_inlined = TRUE; } else if (strncmp(opt, "content-type=", 13) == 0) { diff --git a/src/lib-storage/mail-storage-settings.h b/src/lib-storage/mail-storage-settings.h index 1b2dd07148..d15e8a300f 100644 --- a/src/lib-storage/mail-storage-settings.h +++ b/src/lib-storage/mail-storage-settings.h @@ -69,7 +69,6 @@ struct mail_storage_settings { const char *const *parsed_mail_attachment_content_type_filter; bool parsed_mail_attachment_exclude_inlined; bool parsed_mail_attachment_detection_add_flags_on_save; - bool parsed_mail_attachment_detection_add_flags_on_fetch; }; struct mail_namespace_settings {