Remove deprecated code
Closed this issue · 1 comments
Redsandro commented
On development servers, every frame will show a huge ( ! ) Deprecated: Function Mongo::setSlaveOkay() is deprecated in /var/www/rockmongo/app/models/MServer.php on line 240 message block.
Also notices are unnecessary, but are less of a problem.
jmikola informed me that Mongo::setSlaveOkay() has been deprecated since the 1.3.0 driver release. RockMongo should be using read preferences for newer drivers.
Redsandro commented
I think I accidentally used an old version because I cannot reproduce this on my other machine.