mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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},
|
DBType = ejabberd_config:get_option({sm_db_type, Host},
|
||||||
fun(mnesia) -> mnesia;
|
fun(mnesia) -> mnesia;
|
||||||
(internal) -> mnesia;
|
(internal) -> mnesia;
|
||||||
(odbc) -> odbc;
|
(odbc) -> sql;
|
||||||
|
(sql) -> sql;
|
||||||
(redis) -> redis
|
(redis) -> redis
|
||||||
end, mnesia),
|
end, mnesia),
|
||||||
list_to_atom("ejabberd_sm_" ++ atom_to_list(DBType)).
|
list_to_atom("ejabberd_sm_" ++ atom_to_list(DBType)).
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
%%% Created : 9 Mar 2015 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
%%% Created : 9 Mar 2015 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(ejabberd_sm_odbc).
|
-module(ejabberd_sm_sql).
|
||||||
|
|
||||||
-behaviour(ejabberd_sm).
|
-behaviour(ejabberd_sm).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user