]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove mail_user.mail_debug
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 12 Jan 2023 13:44:39 +0000 (15:44 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 20 Nov 2023 12:20:16 +0000 (14:20 +0200)
It's still available via mail_user.set.mail_debug, although shouldn't
normally be used anymore.

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

index 19e475c0b7a8e98002d1b127e1f457740e45248b..329848052688495d3e60029bf0b84e1b53c0e1aa 100644 (file)
@@ -205,8 +205,6 @@ int mail_user_init(struct mail_user *user, const char **error_r)
        /* autocreated users for shared mailboxes need to be fully initialized
           if they don't exist, since they're going to be used anyway */
        if (user->error == NULL || user->nonexistent) {
-               user->mail_debug = user->set->mail_debug;
-
                user->initialized = TRUE;
                hook_mail_user_created(user);
        }
index 87b56f400d6552bbc1cff64acd1e71dbf4a897df..749ce7aadadaea185cae248b5b7052e63c6744e5 100644 (file)
@@ -94,8 +94,6 @@ struct mail_user {
           This happens near the beginning of the user initialization,
           so this is rarely needed to be checked. */
        bool settings_expanded:1;
-       /* Shortcut to mail_storage_settings.mail_debug */
-       bool mail_debug:1;
        /* If INBOX can't be opened, log an error, but only once. */
        bool inbox_open_error_logged:1;
        /* Fuzzy search works for this user (FTS enabled) */