summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-04-29 15:23:45 -0400
committerMathias Stearn <mathias@10gen.com>2014-04-30 10:48:16 -0400
commit36370def1e19eed5fcabd468253c5be0d2b22366 (patch)
treed26b73db74a8d2429179f70f438c931e001e985f /src/mongo/db/commands/authentication_commands.h
parent6d0f155cdd27b019b2f1ccc4b6b7e8e2c8271b54 (diff)
downloadmongo-36370def1e19eed5fcabd468253c5be0d2b22366.tar.gz
SERVER-13643 Kill Command::logTheOp and have Commands log their own ops
This is necessary to ensure that the lopOp is on the same Transaction as the operation.
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.h')
-rw-r--r--src/mongo/db/commands/authentication_commands.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h
index f5b7309036a..909857b3532 100644
--- a/src/mongo/db/commands/authentication_commands.h
+++ b/src/mongo/db/commands/authentication_commands.h
@@ -40,9 +40,6 @@ namespace mongo {
public:
static void disableAuthMechanism(std::string authMechanism);
- virtual bool logTheOp() {
- return false;
- }
virtual bool slaveOk() const {
return true;
}