25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/ejabberd_auth_odbc.erl: Added ejabberd_odbc_sup to ejabberd

supervision tree

SVN Revision: 499
This commit is contained in:
Alexey Shchepin 2006-02-03 04:41:03 +00:00
parent dc57e75e8f
commit cf10843071
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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() ->