Mercurial > dovecot > core-2.2
changeset 20594:620e747d25e1
quota_clone plugin: quota_clone_mail_user_created warned without debug
"The quota_clone_dict setting is missing from configuration" warning
would be thrown when debug mode was not enabled. This warning
happens under normal circumstances when prefix="" namespace is not
defined (usually when set to INBOX.)
See http://dovecot.org/list/dovecot-cvs/2012-October/021981.html for
more details on the automagic prefix="" namespace.
This change suppresses the spurious warning.
author | J. Nick Koston <nick@cpanel.net> |
---|---|
date | Sat, 09 Apr 2016 18:21:23 -0500 |
parents | 8afdd7adf237 |
children | 40ce04c672a4 |
files | src/plugins/quota-clone/quota-clone-plugin.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota-clone/quota-clone-plugin.c Sat Apr 09 13:43:16 2016 +0200 +++ b/src/plugins/quota-clone/quota-clone-plugin.c Sat Apr 09 18:21:23 2016 -0500 @@ -164,7 +164,9 @@ uri = mail_user_plugin_getenv(user, "quota_clone_dict"); if (uri == NULL || uri[0] == '\0') { - i_error("The quota_clone_dict setting is missing from configuration"); + if (user->mail_debug) { + i_debug("The quota_clone_dict setting is missing from configuration"); + } return; }