summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-13 19:03:31 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-12 11:18:49 -0400
commitfead243883a6c11e887ddbbe0d4b8cbe6002ce3f (patch)
tree43c158a65e4394a06ad2f0aa290d833a05b701b6
parent71e490b6c38c8f23c84dba735ad2df62ad29a648 (diff)
remove unused increment_update_seq handler
-rw-r--r--src/chttpd_misc.erl13
1 files changed, 0 insertions, 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) ->