From 7487c762832b12c26504dd9ac05f3b822f38c6a7 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 23 Jan 2009 11:33:26 -0500 Subject: [PATCH] Rely on DBDirectClient dummy authorization instead --- db/db.cpp | 5 ----- 1 file changed, 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() {