summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2020-08-24 17:16:37 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-25 20:12:50 +0000
commit152ea482d58e610e12539cec0be3c4f03e30a213 (patch)
tree30b8040784d50980376099dab7e36cb10bca0253 /src/mongo/db/commands.h
parente08eba28ab9ad4d54adb95e8517c9d43276e5336 (diff)
downloadmongo-152ea482d58e610e12539cec0be3c4f03e30a213.tar.gz
Revert "SERVER-49858 Don't forward API params from drop/dropDatabase to config servers"
This reverts commit f4ed96b5a788003322a2dc36b46063475a0b36ca. For SERVER-50375 we must forward API parameters from mongos commands to shard commands, so commit f4ed96b5 was, in retrospect, a step in the wrong direction.
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index af8f4126227..1877556f356 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -178,12 +178,6 @@ struct CommandHelpers {
const BSONObj& request);
/**
- * Appends passthrough fields from a cmdObj to a given *internal* command request.
- */
- static BSONObj appendInternalPassthroughFields(const BSONObj& cmdObjWithPassthroughFields,
- const BSONObj& request);
-
- /**
* Returns a copy of 'cmdObj' with a majority writeConcern appended. If the command object does
* not contain a writeConcern, 'defaultWC' will be used instead, if supplied.
*/