Skip to content

Commit

Permalink
Merge pull request #341
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Feb 16, 2017
2 parents 302de20 + a5773af commit a2ed037
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ public function findOne($filter = [], array $options = [])
}

$operation = new FindOne($this->databaseName, $this->collectionName, $filter, $options);
$server = $this->manager->selectServer($options['readPreference']);

return $operation->execute($server);
}
Expand Down

0 comments on commit a2ed037

Please sign in to comment.