Rename ejabberd_sm_odbc -> ejabberd_sm_sql

This commit is contained in:
Evgeniy Khramtsov 2016-04-20 09:10:34 +03:00
parent 655c22021b
commit fafeeb80c2
2 changed files with 3 additions and 2 deletions

View File

@ -735,7 +735,8 @@ get_sm_backend(Host) ->
DBType = ejabberd_config:get_option({sm_db_type, Host},
fun(mnesia) -> mnesia;
(internal) -> mnesia;
(odbc) -> odbc;
(odbc) -> sql;
(sql) -> sql;
(redis) -> redis
end, mnesia),
list_to_atom("ejabberd_sm_" ++ atom_to_list(DBType)).

View File

@ -6,7 +6,7 @@
%%% @end
%%% Created : 9 Mar 2015 by Evgeny Khramtsov <ekhramtsov@process-one.net>
%%%-------------------------------------------------------------------
-module(ejabberd_sm_odbc).
-module(ejabberd_sm_sql).
-behaviour(ejabberd_sm).