mongodb/mongo-php-driver — pull request #282 by jmikola (2013-01-23 23:28:51+00:00)
Title: [PHP-668] Allow empty setReadPreference() tags param for primary mode

See: https://jira.mongodb.org/browse/PHP-668

This also includes a commit refactoring the `get/setReadPreference()` tests for our core classes and making them more consistent. I won't be splitting that into a separate PR, since the subsequent commit is closely tied to that refactoring.

This is ready to be reviewed.