From 0e3b3900d5ac67864b90ef83abd484746945a495 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Wed, 17 May 2017 14:09:03 -0400 Subject: SERVER-29249 Remove Command::_webUi member and constructor argument --- src/mongo/db/commands/generic.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mongo/db/commands/generic.cpp') diff --git a/src/mongo/db/commands/generic.cpp b/src/mongo/db/commands/generic.cpp index 082128ebf74..0a54dc74bbb 100644 --- a/src/mongo/db/commands/generic.cpp +++ b/src/mongo/db/commands/generic.cpp @@ -71,7 +71,7 @@ using std::vector; class CmdBuildInfo : public Command { public: - CmdBuildInfo() : Command("buildInfo", true, "buildinfo") {} + CmdBuildInfo() : Command("buildInfo", "buildinfo") {} virtual bool slaveOk() const { return true; } @@ -130,7 +130,7 @@ public: class FeaturesCmd : public Command { public: - FeaturesCmd() : Command("features", true) {} + FeaturesCmd() : Command("features") {} void help(stringstream& h) const { h << "return build level feature settings"; } @@ -165,7 +165,7 @@ public: class HostInfoCmd : public Command { public: - HostInfoCmd() : Command("hostInfo", true) {} + HostInfoCmd() : Command("hostInfo") {} virtual bool slaveOk() const { return true; } @@ -250,7 +250,7 @@ public: virtual void help(stringstream& help) const { help << "get a list of all db commands"; } - ListCommandsCmd() : Command("listCommands", false) {} + ListCommandsCmd() : Command("listCommands") {} virtual bool supportsWriteConcern(const BSONObj& cmd) const override { return false; } -- cgit v1.2.1