diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-11-20 14:36:38 -0500 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-12-09 13:53:25 -0500 |
commit | dc9993d8df8f6fd38a46549af0ba89564b11328c (patch) | |
tree | 9d5d3db30214abc9d83579269c9913798251d2d2 /src/mongo/db/dbhelpers.cpp | |
parent | a4d29291cc3ee4d44970fc450e0a7124828394b2 (diff) | |
download | mongo-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.cpp | 3 |
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++; } |