25
1
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:
Badlop 2010-07-29 20:35:15 +02:00
parent 891c9610e9
commit e653598cd0
2 changed files with 0 additions and 2 deletions

View File

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

View File

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