diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-15 10:35:33 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-17 07:19:01 -0400 |
commit | 782258785ff78679c18646bd86de7cb9cb780618 (patch) | |
tree | d1750feb1499d07a01ad9fdb0f79078b45a474e5 /src | |
parent | b7a18a30b27b900cbfc6c71b033c85023296a2fd (diff) | |
download | mongo-782258785ff78679c18646bd86de7cb9cb780618.tar.gz |
SERVER-14135 remove a call to isGod() from LegacyReplicationCoordinator
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/repl_coordinator_legacy.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/repl/repl_coordinator_legacy.cpp b/src/mongo/db/repl/repl_coordinator_legacy.cpp index 17c30dfb9e0..bb82ef7458a 100644 --- a/src/mongo/db/repl/repl_coordinator_legacy.cpp +++ b/src/mongo/db/repl/repl_coordinator_legacy.cpp @@ -314,11 +314,6 @@ namespace { return true; } - //TODO: Investigate if this is needed/used, see SERVER-9188 - if (cc().isGod()) { - return true; - } - return dbName == "local"; } |