summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-07-15 10:35:33 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-07-17 07:19:01 -0400
commit782258785ff78679c18646bd86de7cb9cb780618 (patch)
treed1750feb1499d07a01ad9fdb0f79078b45a474e5 /src/mongo
parentb7a18a30b27b900cbfc6c71b033c85023296a2fd (diff)
downloadmongo-782258785ff78679c18646bd86de7cb9cb780618.tar.gz
SERVER-14135 remove a call to isGod() from LegacyReplicationCoordinator
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/repl/repl_coordinator_legacy.cpp5
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";
}