Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Deprecated option in constructor (PHP-5.4) #406

Mihailoff opened this Issue Sep 14, 2012 · 2 comments


None yet
3 participants

Mongo::__construct(): The 'connect' option is deprecated and will be removed in the future

PHP Mongo Extension: 1.3.0beta2
MongoDB shell version: 2.0.4


jmikola commented Sep 17, 2012

The connect option can certainly be removed, as it has defaulted to true for a while. setSlaveOkay() is also going to need to be disabled (replaced with read preferences) conditionally for newer versions of the driver.


malarzm commented Mar 10, 2015

Can't find anything related in current codebase so I'm closing the issue

@malarzm malarzm closed this Mar 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment