summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2021-12-23 14:44:15 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-23 15:10:00 +0000
commitd671fd4ce0b91200c161e81afd75712d45f20013 (patch)
tree10c39cdf82a60bac956442eae41eb27756309877
parent0bb15b6d410d65ee42b9cf9876ea9a062b037271 (diff)
downloadmongo-d671fd4ce0b91200c161e81afd75712d45f20013.tar.gz
SERVER-58035 Remove leftover code
-rw-r--r--src/mongo/shell/db.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js
index b0a3d9e1ca2..b0318cfef7f 100644
--- a/src/mongo/shell/db.js
+++ b/src/mongo/shell/db.js
@@ -180,12 +180,6 @@ DB.prototype.runCommand = function(obj, extra, queryOptions) {
}
};
-DB.prototype.runCommandWithMetadata = function(commandArgs, metadata) {
- const session = this.getSession();
- return session._getSessionAwareClient().runCommandWithMetadata(
- session, this._name, metadata, commandArgs);
-};
-
DB.prototype._dbCommand = DB.prototype.runCommand;
DB.prototype._dbReadCommand = DB.prototype.runReadCommand;