]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove mail_attachment_detection_options=add-flags-on-fetch parsing
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 26 Apr 2018 13:42:40 +0000 (16:42 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 27 Apr 2018 11:35:47 +0000 (11:35 +0000)
It wasn't actually used yet.

src/lib-storage/mail-storage-settings.c
src/lib-storage/mail-storage-settings.h

index e95011f6c12aa4563d8433c260f8d835aea952e0..f846556b3c65ee023b7d8ea76b2830fadc903911 100644 (file)
@@ -538,8 +538,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 (str_begins(opt, "content-type=")) {
index 762e8d118662d681a4de2abd9b68dbe5235092fe..f0ee0a84118873ed95cf54ab8046d85f1e6ad8a4 100644 (file)
@@ -80,7 +80,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 {