From 1fda1aa8f69d5870c5711b0068971c7d4594e6cc Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Wed, 18 Aug 2010 14:57:08 -0400 Subject: new version() call allows for hidden patch releases --- apps/couch/src/couch_httpd_misc_handlers.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/couch/src/couch_httpd_misc_handlers.erl') diff --git a/apps/couch/src/couch_httpd_misc_handlers.erl b/apps/couch/src/couch_httpd_misc_handlers.erl index 0a6f4a42..7b09dccd 100644 --- a/apps/couch/src/couch_httpd_misc_handlers.erl +++ b/apps/couch/src/couch_httpd_misc_handlers.erl @@ -32,7 +32,7 @@ handle_welcome_req(#httpd{method='GET'}=Req, WelcomeMessage) -> send_json(Req, {[ {couchdb, WelcomeMessage}, - {version, list_to_binary(couch_server:get_version())} + {version, list_to_binary(couch:version())} ]}); handle_welcome_req(Req, _) -> send_method_not_allowed(Req, "GET,HEAD"). -- cgit v1.2.3