From: Evgeniy Khramtsov Date: Tue, 12 Aug 2014 10:22:32 +0000 (+0400) Subject: Fix the deprecation warning to reflect YAML format X-Git-Tag: 14.12~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c88f6423aae5bdf4b19f059b1f580e0ef586a40;p=ejabberd Fix the deprecation warning to reflect YAML format --- diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index 612cd84ce..dd1db765d 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -989,7 +989,7 @@ report_and_stop(Tab, Err) -> halt(string:substr(ErrTxt, 1, 199)). emit_deprecation_warning(Module, NewModule, DBType) -> - ?WARNING_MSG("Module ~s is deprecated, use {~s, [{db_type, ~s}, ...]}" + ?WARNING_MSG("Module ~s is deprecated, use ~s with 'db_type: ~s'" " instead", [Module, NewModule, DBType]). emit_deprecation_warning(Module, NewModule) ->