diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-05-17 14:09:03 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-05-17 19:29:36 -0400 |
commit | 0e3b3900d5ac67864b90ef83abd484746945a495 (patch) | |
tree | d3d241d7b6200bf827bef5203b450e39e8a99a4f /src/mongo/db/commands/generic.cpp | |
parent | a5bfc0ee7d76e02f050eb24735d25d71fb111db8 (diff) | |
download | mongo-0e3b3900d5ac67864b90ef83abd484746945a495.tar.gz |
SERVER-29249 Remove Command::_webUi member and constructor argument
Diffstat (limited to 'src/mongo/db/commands/generic.cpp')
-rw-r--r-- | src/mongo/db/commands/generic.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |