You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/16 13:27:24 UTC

[2/2] couch commit: updated refs/heads/master to f55205d

Remove deprecated functions


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f55205d6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f55205d6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f55205d6

Branch: refs/heads/master
Commit: f55205d6ce25613aa50067a54be5754affbf3001
Parents: de590cc
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Oct 15 23:16:36 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Fri Oct 16 00:42:28 2015 +0300

----------------------------------------------------------------------
 src/couch_doc.erl | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f55205d6/src/couch_doc.erl
----------------------------------------------------------------------
diff --git a/src/couch_doc.erl b/src/couch_doc.erl
index a3f1a66..f973923 100644
--- a/src/couch_doc.erl
+++ b/src/couch_doc.erl
@@ -23,9 +23,6 @@
 -export([with_ejson_body/1]).
 -export([is_deleted/1]).
 
-%% deprecated
--export([abort_multi_part_stream/1]).
--export([num_mp_writers/1]).
 
 -include_lib("couch/include/couch_db.hrl").
 
@@ -444,12 +441,3 @@ with_ejson_body(#doc{body = Body} = Doc) when is_binary(Body) ->
     Doc#doc{body = couch_compress:decompress(Body)};
 with_ejson_body(#doc{body = {_}} = Doc) ->
     Doc.
-
-%% deprecated
-abort_multi_part_stream(Parser) ->
-    couch_log:warning("couch_doc:abort_multi_part_stream/1 is deprecated use couch_httpd_multipart:abort_multipart_stream/1", []),
-    couch_httpd_multipart:abort_multipart_stream(Parser).
-
-num_mp_writers(N) ->
-    couch_log:warning("couch_doc:num_mp_writers/1 is deprecated use couch_httpd_multipart:num_mp_writers/1", []),
-    couch_httpd_multipart:num_mp_writers(N).