couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/2] couch commit: updated refs/heads/master to f55205d
Date Fri, 16 Oct 2015 11:27:24 GMT
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 <kxepal@apache.org>
Authored: Thu Oct 15 23:16:36 2015 +0300
Committer: Alexander Shorin <kxepal@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).


Mime
View raw message