A remove a redundant clone

This commit is contained in:
Slava Kim
2014-02-26 21:53:07 -08:00
parent 1fef6e5662
commit 6c595e7b8d

View File

@@ -333,8 +333,6 @@ _.extend(OplogObserveDriver.prototype, {
},
_handleDoc: function (id, newDoc) {
var self = this;
newDoc = _.clone(newDoc);
var matchesNow = newDoc && self._matcher.documentMatches(newDoc).result;
var publishedBefore = self._published.has(id);