You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/08/29 15:57:25 UTC

[couchdb] 02/02: Remove debug logging in fabric2_db_plugin

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 5aed0fddfbc9b197757e573a28dfc7ebada3aafd
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Aug 29 11:09:39 2019 -0400

    Remove debug logging in fabric2_db_plugin
---
 src/fabric/src/fabric2_db_plugin.erl | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/fabric/src/fabric2_db_plugin.erl b/src/fabric/src/fabric2_db_plugin.erl
index cb824d7..fb83ed4 100644
--- a/src/fabric/src/fabric2_db_plugin.erl
+++ b/src/fabric/src/fabric2_db_plugin.erl
@@ -66,9 +66,7 @@ validate_docid(Id) ->
 check_is_admin(Db) ->
     Handle = couch_epi:get_handle(?SERVICE_ID),
     %% callbacks return true only if it specifically allow the given Id
-    R = couch_epi:any(Handle, ?SERVICE_ID, check_is_admin, [Db], []),
-    %io:format(standard_error, "~n FFFFFFF ~p check_is_admin Db:~p => ~p~n", [?MODULE, fabric2_db:name(Db), R]),
-    R.
+    couch_epi:any(Handle, ?SERVICE_ID, check_is_admin, [Db], []).
 
 
 is_valid_purge_client(DbName, Props) ->