summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.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.cpp
parenta5bfc0ee7d76e02f050eb24735d25d71fb111db8 (diff)
downloadmongo-0e3b3900d5ac67864b90ef83abd484746945a495.tar.gz
SERVER-29249 Remove Command::_webUi member and constructor argument
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r--src/mongo/db/commands.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp
index 5d52a83ca17..607c0d59430 100644
--- a/src/mongo/db/commands.cpp
+++ b/src/mongo/db/commands.cpp
@@ -137,9 +137,8 @@ ResourcePattern Command::parseResourcePattern(const std::string& dbname,
return ResourcePattern::forExactNamespace(NamespaceString(ns));
}
-Command::Command(StringData name, bool webUI, StringData oldName)
+Command::Command(StringData name, StringData oldName)
: _name(name.toString()),
- _webUI(webUI),
_commandsExecutedMetric("commands." + _name + ".total", &_commandsExecuted),
_commandsFailedMetric("commands." + _name + ".failed", &_commandsFailed) {
// register ourself.