summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authorization_manager.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2013-10-25 18:15:23 -0400
committerAndy Schwerin <schwerin@10gen.com>2013-10-25 18:15:23 -0400
commit774860337ea71d1f8b4711971dc9fa61115cd003 (patch)
tree221abb74c9c050ab62399028d966c2cdec8fc311 /src/mongo/db/auth/authorization_manager.h
parentff9f15747c7f9e3d20436a66b2d90384e06fd4f2 (diff)
downloadmongo-774860337ea71d1f8b4711971dc9fa61115cd003.tar.gz
Revert "SERVER-9516 Write version document to admin.system.version as needed in mongod."
This reverts commit 3d61067308f7f526ec00d79bcbb158d31fd413fa, which breaks multi-version because it replicates writes to admin.system.version at startup.
Diffstat (limited to 'src/mongo/db/auth/authorization_manager.h')
-rw-r--r--src/mongo/db/auth/authorization_manager.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/auth/authorization_manager.h b/src/mongo/db/auth/authorization_manager.h
index fa6280d4c5a..6cc0ae093a4 100644
--- a/src/mongo/db/auth/authorization_manager.h
+++ b/src/mongo/db/auth/authorization_manager.h
@@ -88,22 +88,11 @@ namespace mongo {
static const NamespaceString versionCollectionNamespace;
/**
- * Query to match the auth schema version document in the versionCollectionNamespace.
- */
- static const BSONObj versionDocumentQuery;
-
- /**
* Name of the server parameter used to report the auth schema version (via getParameter).
*/
static const std::string schemaVersionServerParameter;
/**
- * Name of the field in the auth schema version document containing the current schema
- * version.
- */
- static const std::string schemaVersionFieldName;
-
- /**
* Value used to represent that the schema version is not cached or invalid.
*/
static const int schemaVersionInvalid = 0;