summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-11-20 14:36:38 -0500
committerAndy Schwerin <schwerin@mongodb.com>2015-12-09 13:53:25 -0500
commitdc9993d8df8f6fd38a46549af0ba89564b11328c (patch)
tree9d5d3db30214abc9d83579269c9913798251d2d2 /src/mongo/db/dbhelpers.cpp
parenta4d29291cc3ee4d44970fc450e0a7124828394b2 (diff)
downloadmongo-dc9993d8df8f6fd38a46549af0ba89564b11328c.tar.gz
SERVER-21382 Remove unused _id-extracting out parameter from Collection::deleteDocument
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r--src/mongo/db/dbhelpers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp
index 7aa66d7facd..b68c232048f 100644
--- a/src/mongo/db/dbhelpers.cpp
+++ b/src/mongo/db/dbhelpers.cpp
@@ -429,8 +429,7 @@ long long Helpers::removeRange(OperationContext* txn,
if (callback)
callback->goingToDelete(obj);
- BSONObj deletedId;
- collection->deleteDocument(txn, rloc, false, false, &deletedId);
+ collection->deleteDocument(txn, rloc);
wuow.commit();
numDeleted++;
}