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:
parent
4fd8be64c8
commit
7487c76283
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user