diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-18 14:57:08 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-18 14:57:08 -0400 |
commit | 1fda1aa8f69d5870c5711b0068971c7d4594e6cc (patch) | |
tree | edbe28a6e03b9932596f03e294fe33df2c2b1009 /apps/couch/src/couch_server.erl | |
parent | 1b40244642f1099df7b7addecf2ac47e52b8d636 (diff) |
new version() call allows for hidden patch releases
Diffstat (limited to 'apps/couch/src/couch_server.erl')
-rw-r--r-- | apps/couch/src/couch_server.erl | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/couch/src/couch_server.erl b/apps/couch/src/couch_server.erl index b54771be..dfb523b9 100644 --- a/apps/couch/src/couch_server.erl +++ b/apps/couch/src/couch_server.erl @@ -14,7 +14,7 @@ -behaviour(gen_server). -export([open/2,create/2,delete/2,all_databases/0,all_databases/1]). --export([init/1, handle_call/3,sup_start_link/0,get_version/0]). +-export([init/1, handle_call/3,sup_start_link/0]). -export([handle_cast/2,code_change/3,handle_info/2,terminate/2]). -export([dev_start/0,is_admin/2,has_admins/0,get_stats/0,config_change/4]). -export([close_lru/0]). @@ -34,15 +34,6 @@ dev_start() -> up_to_date = make:all([load, debug_info]), couch:start(). -get_version() -> - Apps = application:loaded_applications(), - case lists:keysearch(couch, 1, Apps) of - {value, {_, _, Vsn}} -> - Vsn; - false -> - "0.0.0" - end. - get_stats() -> {ok, #server{start_time=Time,dbs_open=Open}} = gen_server:call(couch_server, get_server), |