Repository: couchdb-couch Updated Branches: refs/heads/master f7348cbd9 -> f2457f350
Remove configurable replicator db name JIRA: COUCHDB-2954 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/9aa8c65e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/9aa8c65e Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/9aa8c65e Branch: refs/heads/master Commit: 9aa8c65e8413eb7065d5ed2b7e32130ca03681b9 Parents: f7348cb Author: Nick Vatamaniuc <vatam...@gmail.com> Authored: Fri Feb 26 16:12:55 2016 -0500 Committer: Nick Vatamaniuc <vatam...@gmail.com> Committed: Wed Mar 2 14:16:40 2016 -0500 ---------------------------------------------------------------------- src/couch_server.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/9aa8c65e/src/couch_server.erl ---------------------------------------------------------------------- diff --git a/src/couch_server.erl b/src/couch_server.erl index bb93dfe..058ce22 100644 --- a/src/couch_server.erl +++ b/src/couch_server.erl @@ -119,8 +119,7 @@ maybe_add_sys_db_callbacks(DbName, Options) when is_binary(DbName) -> maybe_add_sys_db_callbacks(DbName, Options) -> DbsDbName = config:get("mem3", "shards_db", "_dbs"), NodesDbName = config:get("mem3", "nodes_db", "_nodes"), - IsReplicatorDb = DbName == config:get("replicator", "db", "_replicator") orelse - path_ends_with(DbName, <<"_replicator">>), + IsReplicatorDb = path_ends_with(DbName, <<"_replicator">>), IsUsersDb = DbName ==config:get("couch_httpd_auth", "authentication_db", "_users") orelse path_ends_with(DbName, <<"_users">>), if