diff options
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index 865543c74f9..d657a970331 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -115,9 +115,6 @@ namespace mongo { static bool getSingleton(OperationContext* txn, const char *ns, BSONObj& result); static void putSingleton(OperationContext* txn, const char *ns, BSONObj obj); static void putSingletonGod(OperationContext* txn, const char *ns, BSONObj obj, bool logTheOp); - static bool getFirst(OperationContext* txn, const char *ns, BSONObj& result) { - return getSingleton(txn, ns, result); - } /** * get last object int he collection; e.g. {$natural : -1} |