From e653598cd087eb010e79a66cd0e71f5a5f3c8cb0 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 29 Jul 2010 20:35:15 +0200 Subject: [PATCH] Allow mod_caps and shared_roster to start, they don't really need to use GS --- src/mod_caps.erl | 1 - src/mod_shared_roster.erl | 1 - 2 files changed, 2 deletions(-) diff --git a/src/mod_caps.erl b/src/mod_caps.erl index 6ec1859f2..b338243a7 100644 --- a/src/mod_caps.erl +++ b/src/mod_caps.erl @@ -73,7 +73,6 @@ start_link(Host, Opts) -> Proc = gen_mod:get_module_proc(Host, ?PROCNAME), gen_server:start_link({local, Proc}, ?MODULE, [Host, Opts], []). -start(_, _) -> ok; %% TODO: This module doesn't yet support genstorage start(Host, Opts) -> Proc = gen_mod:get_module_proc(Host, ?PROCNAME), ChildSpec = diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index ee8684d3f..24be79e83 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -61,7 +61,6 @@ -record(sr_group, {group_host, opts}). -record(sr_user, {us, group_host}). -start(_, _) -> ok; %% TODO: This module doesn't yet support genstorage start(Host, _Opts) -> HostB = list_to_binary(Host), mnesia:create_table(sr_group,