diff options
Diffstat (limited to 'src/mongo/db/dbwebserver.cpp')
-rw-r--r-- | src/mongo/db/dbwebserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp index e63ad58f0d8..c5ce87bb068 100644 --- a/src/mongo/db/dbwebserver.cpp +++ b/src/mongo/db/dbwebserver.cpp @@ -472,7 +472,7 @@ namespace mongo { string errmsg; BSONObjBuilder sub; - if ( ! c->newRun( txn, "admin.$cmd" , co , 0, errmsg , sub , false ) ) + if ( ! c->run( txn, "admin.$cmd" , co , 0, errmsg , sub , false ) ) buf.append( cmd , errmsg ); else buf.append( cmd , sub.obj() ); |