summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r--src/mongo/db/dbhelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp
index fc07e01ffc1..3a3fe90307e 100644
--- a/src/mongo/db/dbhelpers.cpp
+++ b/src/mongo/db/dbhelpers.cpp
@@ -154,8 +154,8 @@ namespace mongo {
return all;
}
- bool Helpers::isEmpty(const char *ns, bool doAuth) {
- Client::Context context(ns, dbpath, doAuth);
+ bool Helpers::isEmpty(const char *ns) {
+ Client::Context context(ns, dbpath);
shared_ptr<Cursor> c = DataFileMgr::findAll(ns);
return !c->ok();
}