mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Allow mod_caps and shared_roster to start, they don't really need to use GS
This commit is contained in:
parent
891c9610e9
commit
e653598cd0
@ -73,7 +73,6 @@ start_link(Host, Opts) ->
|
|||||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||||
gen_server:start_link({local, Proc}, ?MODULE, [Host, Opts], []).
|
gen_server:start_link({local, Proc}, ?MODULE, [Host, Opts], []).
|
||||||
|
|
||||||
start(_, _) -> ok; %% TODO: This module doesn't yet support genstorage
|
|
||||||
start(Host, Opts) ->
|
start(Host, Opts) ->
|
||||||
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
|
||||||
ChildSpec =
|
ChildSpec =
|
||||||
|
@ -61,7 +61,6 @@
|
|||||||
-record(sr_group, {group_host, opts}).
|
-record(sr_group, {group_host, opts}).
|
||||||
-record(sr_user, {us, group_host}).
|
-record(sr_user, {us, group_host}).
|
||||||
|
|
||||||
start(_, _) -> ok; %% TODO: This module doesn't yet support genstorage
|
|
||||||
start(Host, _Opts) ->
|
start(Host, _Opts) ->
|
||||||
HostB = list_to_binary(Host),
|
HostB = list_to_binary(Host),
|
||||||
mnesia:create_table(sr_group,
|
mnesia:create_table(sr_group,
|
||||||
|
Loading…
Reference in New Issue
Block a user