summaryrefslogtreecommitdiff
path: root/db/db.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-23 11:33:26 -0500
committerAaron <aaron@10gen.com>2009-01-23 11:33:26 -0500
commit7487c762832b12c26504dd9ac05f3b822f38c6a7 (patch)
treeb9e10b15f7fddde819b86a4e79b7b37fc15b9e4b /db/db.cpp
parent4fd8be64c83375ee7d0f8d53b878c0a22af9179f (diff)
downloadmongo-7487c762832b12c26504dd9ac05f3b822f38c6a7.tar.gz
Rely on DBDirectClient dummy authorization instead
Diffstat (limited to 'db/db.cpp')
-rw-r--r--db/db.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/db/db.cpp b/db/db.cpp
index c152bb79f63..087a099bdcf 100644
--- a/db/db.cpp
+++ b/db/db.cpp
@@ -255,9 +255,6 @@ namespace mongo {
}
void repairDatabases() {
- AuthenticationInfo *ai = new AuthenticationInfo();
- authInfo.reset(ai);
-
dblock lk;
vector< string > dbNames;
getDatabaseNames( dbNames );
@@ -276,8 +273,6 @@ namespace mongo {
closeClient( dbName.c_str() );
}
}
-
- authInfo.reset( 0 );
}
void clearTmpFiles() {