Commit a5773af6 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-260: Remove duplicate server selection in Collection::findOne()

parent 302de20d
......@@ -470,7 +470,6 @@ class Collection
}
$operation = new FindOne($this->databaseName, $this->collectionName, $filter, $options);
$server = $this->manager->selectServer($options['readPreference']);
return $operation->execute($server);
}
......
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