diff options
author | samantharitter <samantha.ritter@10gen.com> | 2015-08-10 18:37:35 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2015-08-12 17:37:30 -0400 |
commit | da780777b278314d7820483882af014b7b773547 (patch) | |
tree | fda19acf3eb7bb2dc65ecdd61d9792adae90d9a2 /src/mongo/db/repl/isself.cpp | |
parent | 2482d4387b6a0fcdf825e07d7f5260041a89f3f6 (diff) | |
download | mongo-da780777b278314d7820483882af014b7b773547.tar.gz |
SERVER-19155 Remove authcommon target's dependency on DBClientWithCommands
Diffstat (limited to 'src/mongo/db/repl/isself.cpp')
-rw-r--r-- | src/mongo/db/repl/isself.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/isself.cpp b/src/mongo/db/repl/isself.cpp index 39ddfbc037f..a4fc217481d 100644 --- a/src/mongo/db/repl/isself.cpp +++ b/src/mongo/db/repl/isself.cpp @@ -203,7 +203,7 @@ bool isSelf(const HostAndPort& hostAndPort) { } if (getGlobalAuthorizationManager()->isAuthEnabled() && isInternalAuthSet()) { - if (!authenticateInternalUser(&conn)) { + if (!conn.authenticateInternalUser()) { return false; } } |