summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/connection_status.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-07 15:15:59 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-16 16:00:28 -0400
commiteb8025a6ff2c3652a1f89ae513f7a4a98cd4e2ab (patch)
tree07d6d6fd9ad11758f0122a9f4d721f4ec6901e0a /src/mongo/db/commands/connection_status.cpp
parenta377aa8648de036659bbb4e67c8dfa030299718b (diff)
downloadmongo-eb8025a6ff2c3652a1f89ae513f7a4a98cd4e2ab.tar.gz
SERVER-17817 Make AuthorizationSession a decoration of ClientBasic.
Diffstat (limited to 'src/mongo/db/commands/connection_status.cpp')
-rw-r--r--src/mongo/db/commands/connection_status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/connection_status.cpp b/src/mongo/db/commands/connection_status.cpp
index cfb3860b0dd..1ad5d9f4318 100644
--- a/src/mongo/db/commands/connection_status.cpp
+++ b/src/mongo/db/commands/connection_status.cpp
@@ -54,7 +54,7 @@ namespace mongo {
bool run(OperationContext* txn, const string&, BSONObj& cmdObj, int, string& errmsg,
BSONObjBuilder& result, bool fromRepl) {
AuthorizationSession* authSession =
- ClientBasic::getCurrent()->getAuthorizationSession();
+ AuthorizationSession::get(ClientBasic::getCurrent());
bool showPrivileges;
Status status = bsonExtractBooleanFieldWithDefault(cmdObj,