Skip to content

Commit 791728e

Browse files
committed
NODE-954 Remove write concern from reindex helper as it will not be supported in 3.6
1 parent 8ec9bf5 commit 791728e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/collection.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,9 +1788,6 @@ var reIndex = function(self, options, callback) {
17881788
// Reindex
17891789
var cmd = {'reIndex':self.s.name};
17901790

1791-
// Decorate command with writeConcern if supported
1792-
decorateWithWriteConcern(cmd, self, options);
1793-
17941791
// Execute the command
17951792
self.s.db.command(cmd, options, function(err, result) {
17961793
if(callback == null) return;

0 commit comments

Comments
 (0)