mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
No need to have the default "localhost" in the table "hosts"
This commit is contained in:
parent
ef67ec4286
commit
8ad81a3db8
@ -7,6 +7,8 @@
|
||||
|
||||
%%% Database schema (version / storage / table)
|
||||
%%%
|
||||
%%% The table 'hosts' keeps the dynamic hosts (not defined in ejabberd.cfg)
|
||||
%%%
|
||||
%%% 3.0.0-alpha-x / mnesia / hosts
|
||||
%%% host = string()
|
||||
%%% clusterid = integer()
|
||||
@ -213,11 +215,6 @@ handle_info(timeout, State = #state{state=wait_odbc,backend=Backend,odbc_wait_ti
|
||||
{clusterid, int},
|
||||
{config, text}]}]),
|
||||
|
||||
%% Now let's add the default vhost: "localhost"
|
||||
gen_storage:dirty_write(HostB, #hosts{host = Host,
|
||||
clusterid = 1,
|
||||
config = ""}),
|
||||
|
||||
self() ! reload,
|
||||
timer:send_interval(?RELOAD_INTERVAL, reload),
|
||||
{noreply, State#state{state=running,odbc_wait_time=0}};
|
||||
|
Loading…
Reference in New Issue
Block a user