From fead243883a6c11e887ddbbe0d4b8cbe6002ce3f Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 13 Jul 2010 19:03:31 -0400 Subject: remove unused increment_update_seq handler --- src/chttpd_misc.erl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index 3fd5e919..a0560f89 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -18,8 +18,6 @@ handle_task_status_req/1,handle_sleep_req/1,handle_welcome_req/1, handle_utils_dir_req/1, handle_favicon_req/1, handle_metrics_req/1]). --export([increment_update_seq_req/2]). - -include_lib("couch/include/couch_db.hrl"). @@ -191,17 +189,6 @@ handle_config_req(#httpd{method='DELETE',path_parts=[_,Section,Key]}=Req) -> handle_config_req(Req) -> send_method_not_allowed(Req, "GET,PUT,DELETE"). - -% httpd db handlers - -increment_update_seq_req(#httpd{method='POST'}=Req, Db) -> - {ok, NewSeq} = ?COUCH:increment_update_seq(Db), - send_json(Req, {[{ok, true}, - {update_seq, NewSeq} - ]}); -increment_update_seq_req(Req, _Db) -> - send_method_not_allowed(Req, "POST"). - % httpd log handlers handle_log_req(#httpd{method='GET'}=Req) -> -- cgit v1.2.3