No title Revision 383330663132 (Wed Jan 25 2012 at 17:26) - Diff Link to this snippet: https://friendpaste.com/7cZfkn6yIGGGh5CIJAawK3 Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 12345678910111213141516171819202122diff --git a/src/couchdb/couch_auth_cache.erl b/src/couchdb/couch_auth_cache.erlindex 94adac8..ff66dfb 100644--- a/src/couchdb/couch_auth_cache.erl+++ b/src/couchdb/couch_auth_cache.erl@@ -293,7 +293,7 @@ refresh_entry(Db, #doc_info{high_seq = DocSeq} = DocInfo) -> user_creds(#doc{deleted = true}) -> nil; user_creds(#doc{} = Doc) ->- {Creds} = couch_query_servers:json_doc(Doc),+ {Creds} = couch_doc:to_json_obj(Doc, []), Creds. @@ -360,7 +360,7 @@ get_user_props_from_db(UserName) -> DocId = <<"org.couchdb.user:", UserName/binary>>, try {ok, Doc} = couch_db:open_doc(Db, DocId, [conflicts]),- {DocProps} = couch_query_servers:json_doc(Doc),+ {DocProps} = couch_doc:to_json_obj(Doc, []), DocProps catch _:_Error ->