diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-06-05 15:06:22 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-06-05 15:06:22 -0400 |
commit | 88641efac7eece815ee2f220dba56f1c9613541e (patch) | |
tree | b60af6fa75dc3131e2b90786751a06a102018bfb /src/mongo/db/repl/connections.h | |
parent | cee9135e0f478bc60cbe599a6822c11fcbdb9dd0 (diff) | |
download | mongo-88641efac7eece815ee2f220dba56f1c9613541e.tar.gz |
Revert "SERVER-9518 Make all methods on AuthorizationManager non-static"
This reverts commit 7d37be060bd7db332ebeade1e1c0cf53d8b00cb3.
Diffstat (limited to 'src/mongo/db/repl/connections.h')
-rw-r--r-- | src/mongo/db/repl/connections.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/connections.h b/src/mongo/db/repl/connections.h index 2070bbde76d..0ebc162eed1 100644 --- a/src/mongo/db/repl/connections.h +++ b/src/mongo/db/repl/connections.h @@ -21,7 +21,6 @@ #include <map> #include "mongo/db/auth/authorization_manager.h" -#include "mongo/db/auth/authorization_manager_global.h" #include "mongo/db/repl/rs.h" // extern Tee* rslog namespace mongo { @@ -128,7 +127,7 @@ namespace mongo { // or our key file has to change. if our key file has to change, we'll // be rebooting. if their file has to change, they'll be rebooted so the // connection created above will go dead, reconnect, and reauth. - if (getGlobalAuthorizationManager()->isAuthEnabled()) { + if (AuthorizationManager::isAuthEnabled()) { if (!connInfo->cc->auth("local", internalSecurity.user, internalSecurity.pwd, |