summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/couchdb/couch_config.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl
index d989b31d..50768ac8 100644
--- a/src/couchdb/couch_config.erl
+++ b/src/couchdb/couch_config.erl
@@ -40,7 +40,6 @@ start_link(IniFiles) ->
all() ->
lists:sort(ets:tab2list(?MODULE)).
-
get(Section) when is_binary(Section) ->
?MODULE:get(?b2l(Section));
get(Section) ->
@@ -111,8 +110,6 @@ handle_call({register, Fun, Pid}, _From, #config{notify_funs=PidFuns}=Config) ->
Fun
end,
{reply, ok, Config#config{notify_funs=[{Pid, Fun2}|PidFuns]}}.
-
-
%% @spec load_ini_file(IniFile::filename()) -> ok
%% @doc Parses an ini file and stores Key/Value Pairs into the ets table.
@@ -163,7 +160,6 @@ load_ini_file(IniFile) ->
%% @doc Unused
handle_cast(foo, State) -> {noreply, State}.
-
handle_info({'DOWN', _, _, DownPid, _}, #config{notify_funs=PidFuns}=Config) ->
% remove any funs registered by the downed process
FilteredPidFuns = [{Pid,Fun} || {Pid,Fun} <- PidFuns, Pid /= DownPid],