colinmollenhour/mongodb-php-odm — pull request #25 by kohenkatz (2012-10-23 05:19:23+00:00)
Title: fixed using a boolean for MongoCollection::remove's second option

In version 1.0.5, some of the MongoDB driver's methods were changed to take arrays instead of scalar options. In 1.2.11, providing a scalar now emits an E_DEPRECATED error.

There was one location (that I could find) that was still using the scalar (boolean) argument to MongoCollection::remove. This pull request changes it to use the array form instead.

Note that all other calls to this function are already using an array.