]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove unused mail_user_var_expand()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 20 Jan 2023 20:25:27 +0000 (22:25 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 20 Nov 2023 12:20:55 +0000 (14:20 +0200)
src/lib-storage/mail-user.c
src/lib-storage/mail-user.h

index 67816e94aa95fe0ac16a8da42b3ed9253b4bc711..fd5d12ffc507b9dd5042fdc6da84865ab8cc3a8d 100644 (file)
@@ -144,15 +144,6 @@ mail_user_expand_plugins_envs(struct mail_user *user,
        }
 }
 
-int mail_user_var_expand(struct mail_user *user,
-                        const struct setting_parser_info *info, void *set,
-                        const char **error_r)
-{
-       return settings_var_expand_with_funcs(info, set,
-                       user->pool, mail_user_var_expand_table(user),
-                       mail_user_var_expand_func_table, user, error_r);
-}
-
 int mail_user_init(struct mail_user *user, const char **error_r)
 {
        const char *error;
index a69c5d4d344f88b0606480a7538cfc2702de8a93..cfa7ddf8168bada3435d4cd69f489c9af371751d 100644 (file)
@@ -143,11 +143,6 @@ void mail_user_set_vars(struct mail_user *user, const char *service,
 /* Return %variable expansion table for the user. */
 const struct var_expand_table *
 mail_user_var_expand_table(struct mail_user *user);
-/* Expand %variables for the user. The settings values may be allocated from
-   user->pool. Returns the same as settings_var_expand_with_funcs(). */
-int mail_user_var_expand(struct mail_user *user,
-                        const struct setting_parser_info *info, void *set,
-                        const char **error_r);
 
 /* Specify the user's home directory. This should be called also with home=NULL
    when it's known that the user doesn't have a home directory to avoid the