diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-02-26 15:38:31 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-03-12 12:33:30 -0400 |
commit | 18d57191b1133d17239a78f41b9e3899526b5456 (patch) | |
tree | c8e485d1fb6f8bf585f39fd199a0c40f35d34837 /src/mongo/db/commands/hashcmd.cpp | |
parent | 962ccb59819aecc6fe9ebf8a2ea3df37ba3ac0c7 (diff) | |
download | mongo-18d57191b1133d17239a78f41b9e3899526b5456.tar.gz |
SERVER-8471 Remove Command::requiresAuth
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r-- | src/mongo/db/commands/hashcmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands/hashcmd.cpp b/src/mongo/db/commands/hashcmd.cpp index acf4000505e..94a7183e858 100644 --- a/src/mongo/db/commands/hashcmd.cpp +++ b/src/mongo/db/commands/hashcmd.cpp @@ -42,7 +42,6 @@ namespace mongo { virtual LockType locktype() const { return NONE; } virtual bool slaveOk() const { return true; } // No auth needed because it only works when enabled via command line. - virtual bool requiresAuth() { return false; } virtual void addRequiredPrivileges(const std::string& dbname, const BSONObj& cmdObj, std::vector<Privilege>* out) {} |