0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

Rely on DBDirectClient dummy authorization instead

This commit is contained in:
Aaron 2009-01-23 11:33:26 -05:00
parent 4fd8be64c8
commit 7487c76283

View File

@ -255,9 +255,6 @@ namespace mongo {
} }
void repairDatabases() { void repairDatabases() {
AuthenticationInfo *ai = new AuthenticationInfo();
authInfo.reset(ai);
dblock lk; dblock lk;
vector< string > dbNames; vector< string > dbNames;
getDatabaseNames( dbNames ); getDatabaseNames( dbNames );
@ -276,8 +273,6 @@ namespace mongo {
closeClient( dbName.c_str() ); closeClient( dbName.c_str() );
} }
} }
authInfo.reset( 0 );
} }
void clearTmpFiles() { void clearTmpFiles() {