mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Rename ejabberd_sm_odbc -> ejabberd_sm_sql
This commit is contained in:
parent
655c22021b
commit
fafeeb80c2
@ -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)).
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user