Skip to content

Commit

Permalink
Rename ejabberd_sm_odbc -> ejabberd_sm_sql
Browse files Browse the repository at this point in the history
  • Loading branch information
zinid committed Apr 20, 2016
1 parent 655c220 commit fafeeb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ejabberd_sm.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion src/ejabberd_sm_odbc.erl → src/ejabberd_sm_sql.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit fafeeb8

Please sign in to comment.