diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-06-23 18:16:45 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-07-13 16:53:12 -0400 |
commit | b32c49eadcfab7c7e321a4d539e770d2a70e9730 (patch) | |
tree | 2161d6c48136986ef7145458bb1acda98aa19a22 /src/mongo/db/s/cleanup_orphaned_cmd.cpp | |
parent | 8d555140ce24b9f59e4672a0ed026502fdfffd2c (diff) | |
download | mongo-b32c49eadcfab7c7e321a4d539e770d2a70e9730.tar.gz |
SERVER-29731 don't pass cmdobj to localHostOnlyIfNoAuth()
It wasn't used. If we need it in the future, it should probably use
OpMsgRequest.
Diffstat (limited to 'src/mongo/db/s/cleanup_orphaned_cmd.cpp')
-rw-r--r-- | src/mongo/db/s/cleanup_orphaned_cmd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/s/cleanup_orphaned_cmd.cpp b/src/mongo/db/s/cleanup_orphaned_cmd.cpp index c5b1582a7d3..5ab210ec520 100644 --- a/src/mongo/db/s/cleanup_orphaned_cmd.cpp +++ b/src/mongo/db/s/cleanup_orphaned_cmd.cpp @@ -178,9 +178,6 @@ public: virtual bool adminOnly() const { return true; } - virtual bool localHostOnlyIfNoAuth(const BSONObj& cmdObj) { - return false; - } virtual Status checkAuthForCommand(Client* client, const std::string& dbname, |