]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove unused mail_storage_service_user_set_setting()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 8 Mar 2023 13:27:23 +0000 (15:27 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 20 Nov 2023 12:20:55 +0000 (14:20 +0200)
src/lib-storage/mail-storage-service.c
src/lib-storage/mail-storage-service.h

index 02fb848087dc21f7ac2654c7810228ca3f24fcd4..0dcd1b10b782484498cbfa7832e5ded56a5a4fe6 100644 (file)
@@ -1740,14 +1740,6 @@ pool_t mail_storage_service_user_get_pool(struct mail_storage_service_user *user
        return user->pool;
 }
 
-int mail_storage_service_user_set_setting(struct mail_storage_service_user *user,
-                                         const char *key,
-                                         const char *value,
-                                         const char **error_r)
-{
-       return master_service_set(user->set_parser, key, value, error_r);
-}
-
 const char *
 mail_storage_service_get_log_prefix(struct mail_storage_service_ctx *ctx)
 {
index 749de4c62dbd44b54ee729650312d3c394585229..8333d2a37e123d8d8cfddb0fc12598802804c494 100644 (file)
@@ -182,10 +182,5 @@ mail_storage_service_get_var_expand_table(struct mail_storage_service_ctx *ctx,
                                          struct mail_storage_service_input *input);
 const char *mail_storage_service_fields_var_expand(const char *data,
                                                   const char *const *fields);
-/* Updates settings for storage service user, forwards return value of settings_parse_keyvalue() */
-int mail_storage_service_user_set_setting(struct mail_storage_service_user *user,
-                                         const char *key,
-                                         const char *value,
-                                         const char **error_r);
 
 #endif