summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/isself.cpp
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2015-08-10 18:37:35 -0400
committersamantharitter <samantha.ritter@10gen.com>2015-08-12 17:37:30 -0400
commitda780777b278314d7820483882af014b7b773547 (patch)
treefda19acf3eb7bb2dc65ecdd61d9792adae90d9a2 /src/mongo/db/repl/isself.cpp
parent2482d4387b6a0fcdf825e07d7f5260041a89f3f6 (diff)
downloadmongo-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.cpp2
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;
}
}