]> granicus.if.org Git - ejabberd/commitdiff
Fix the deprecation warning to reflect YAML format
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 12 Aug 2014 10:22:32 +0000 (14:22 +0400)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 12 Aug 2014 10:26:15 +0000 (14:26 +0400)
src/ejabberd_config.erl

index 612cd84ceddb9d3180c9ee94a15da1533ea28864..dd1db765d3cd2e6bf729f6cce18b6771ad142237 100644 (file)
@@ -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) ->