summaryrefslogtreecommitdiff
path: root/src/chttpd_misc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/chttpd_misc.erl')
-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) ->