summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2018-11-27 12:02:02 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2018-12-03 17:43:53 -0500
commit74921ac92c1330f754eed39c8e7148955aca2be9 (patch)
treeeed5f46b6cd11e0e5edaf907988a91dd107d42fa /src/mongo/db/commands.h
parentf439d76860cf8307c5d6ba3fe421b8c88a7c3d8c (diff)
downloadmongo-74921ac92c1330f754eed39c8e7148955aca2be9.tar.gz
SERVER-28871: Remove user management command write concern backwards compatibility
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index aed2407f8f8..3d06532c17d 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -304,14 +304,6 @@ public:
}
/**
- * Return true for "user management commands", a distinction that affects
- * backward compatible output formatting.
- */
- virtual bool isUserManagementCommand() const {
- return false;
- }
-
- /**
* Return true if only the admin ns has privileges to run this command.
*/
virtual bool adminOnly() const {