summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/generic.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-05-17 14:09:03 -0400
committerMathias Stearn <mathias@10gen.com>2017-05-17 19:29:36 -0400
commit0e3b3900d5ac67864b90ef83abd484746945a495 (patch)
treed3d241d7b6200bf827bef5203b450e39e8a99a4f /src/mongo/db/commands/generic.cpp
parenta5bfc0ee7d76e02f050eb24735d25d71fb111db8 (diff)
downloadmongo-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.cpp8
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;
}