From: Timo Sirainen Date: Thu, 12 Jan 2023 13:44:39 +0000 (+0200) Subject: lib-storage: Remove mail_user.mail_debug X-Git-Tag: 2.4.0~2306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7edc18e14af9cfad4982be9d2e2747b8bdcd10c;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Remove mail_user.mail_debug It's still available via mail_user.set.mail_debug, although shouldn't normally be used anymore. --- diff --git a/src/lib-storage/mail-user.c b/src/lib-storage/mail-user.c index 19e475c0b7..3298480526 100644 --- a/src/lib-storage/mail-user.c +++ b/src/lib-storage/mail-user.c @@ -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); } diff --git a/src/lib-storage/mail-user.h b/src/lib-storage/mail-user.h index 87b56f400d..749ce7aada 100644 --- a/src/lib-storage/mail-user.h +++ b/src/lib-storage/mail-user.h @@ -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) */