summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;