diff options
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r-- | src/mongo/db/commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp index cbc8f89764c..70989b0db9f 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -204,7 +204,7 @@ void Command::appendCommandWCStatus(BSONObjBuilder& result, } } -Status Command::checkAuthForCommand(ClientBasic* client, +Status Command::checkAuthForCommand(Client* client, const std::string& dbname, const BSONObj& cmdObj) { std::vector<Privilege> privileges; @@ -226,7 +226,7 @@ BSONObj Command::getRedactedCopyForLogging(const BSONObj& cmdObj) { } static Status _checkAuthorizationImpl(Command* c, - ClientBasic* client, + Client* client, const std::string& dbname, const BSONObj& cmdObj) { namespace mmb = mutablebson; |