summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-08-17 21:59:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-23 19:04:14 +0000
commitcd1b7ce13eb583946482b5eeba3b58c0ad308d16 (patch)
tree3a713da288d0988f57281bfcb54a3ba9a4c586df /src/mongo/db/commands.cpp
parent35f5a6ea3fdbddccb2f08b1f63fad64066ba605e (diff)
downloadmongo-cd1b7ce13eb583946482b5eeba3b58c0ad308d16.tar.gz
SERVER-68421 Remove CommandHelper::parseNsCollectionRequired(StringData dbname, const BSONObj& cmdObj)
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r--src/mongo/db/commands.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp
index d3d92172ae4..7061cfb07bc 100644
--- a/src/mongo/db/commands.cpp
+++ b/src/mongo/db/commands.cpp
@@ -278,11 +278,6 @@ std::string CommandHelpers::parseNsFullyQualified(const BSONObj& cmdObj) {
return nss.ns();
}
-NamespaceString CommandHelpers::parseNsCollectionRequired(StringData dbname,
- const BSONObj& cmdObj) {
- return parseNsCollectionRequired({boost::none, dbname}, cmdObj);
-}
-
NamespaceString CommandHelpers::parseNsCollectionRequired(const DatabaseName& dbName,
const BSONObj& cmdObj) {
// Accepts both BSON String and Symbol for collection name per SERVER-16260