mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
* src/ejabberd_auth_odbc.erl: Added ejabberd_odbc_sup to ejabberd
supervision tree SVN Revision: 499
This commit is contained in:
parent
dc57e75e8f
commit
cf10843071
@ -1,5 +1,8 @@
|
|||||||
2006-02-03 Alexey Shchepin <alexey@sevcom.net>
|
2006-02-03 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/ejabberd_auth_odbc.erl: Added ejabberd_odbc_sup to ejabberd
|
||||||
|
supervision tree
|
||||||
|
|
||||||
* src/web/ejabberd_http.erl: Authentication check moved to
|
* src/web/ejabberd_http.erl: Authentication check moved to
|
||||||
ejabberd_web.erl
|
ejabberd_web.erl
|
||||||
* src/web/ejabberd_web.erl: Likewise
|
* src/web/ejabberd_web.erl: Likewise
|
||||||
|
@ -34,7 +34,14 @@
|
|||||||
%%% API
|
%%% API
|
||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
start(Host) ->
|
start(Host) ->
|
||||||
ejabberd_odbc_sup:start_link(Host),
|
ChildSpec =
|
||||||
|
{ejabberd_odbc_sup,
|
||||||
|
{ejabberd_odbc_sup, start_link, [Host]},
|
||||||
|
temporary,
|
||||||
|
infinity,
|
||||||
|
supervisor,
|
||||||
|
[ejabberd_odbc_sup]},
|
||||||
|
supervisor:start_child(ejabberd_sup, ChildSpec),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
plain_password_required() ->
|
plain_password_required() ->
|
||||||
|
Loading…
Reference in New Issue
Block a user