From 1f21d889f89cf1338ff198264d63b029314eef7a Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Thu, 22 Jun 2017 15:25:37 -0400 Subject: SERVER-29731 convert all direct subclasses of Command to BasicCommand --- src/mongo/db/commands/authentication_commands.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/commands/authentication_commands.h') diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h index f6b0c66e147..5bb01ad9fae 100644 --- a/src/mongo/db/commands/authentication_commands.h +++ b/src/mongo/db/commands/authentication_commands.h @@ -36,7 +36,7 @@ namespace mongo { -class CmdAuthenticate : public Command { +class CmdAuthenticate : public BasicCommand { public: static void disableAuthMechanism(std::string authMechanism); @@ -54,7 +54,7 @@ public: std::vector* out) {} // No auth required virtual void redactForLogging(mutablebson::Document* cmdObj); - CmdAuthenticate() : Command("authenticate") {} + CmdAuthenticate() : BasicCommand("authenticate") {} bool run(OperationContext* opCtx, const std::string& dbname, const BSONObj& cmdObj, -- cgit v1.2.1