Commit 9ac44e63 authored by Katherine Walker's avatar Katherine Walker

PHPLIB-298 Remove cursor rewind in ChangeStream constructor

parent 888537f7
...@@ -50,10 +50,6 @@ class ChangeStream implements Iterator ...@@ -50,10 +50,6 @@ class ChangeStream implements Iterator
$this->resumeCallable = $resumeCallable; $this->resumeCallable = $resumeCallable;
$this->csIt = new IteratorIterator($cursor); $this->csIt = new IteratorIterator($cursor);
// TO DO: remove this call to rewind after the PHP driver no longer calls next on
// cursor immediately after it is constructed
$this->csIt->rewind();
$this->key = 0; $this->key = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment