doctrine/mongodb-odm — pull request #513 by mlodick (2013-02-26 20:42:14+00:00)
Title: Missing check of dropDups flag causes unique index drop/regeneration

The dropDups flag on documentIndexOptions does not appear to be being checked as the comment on the code suggests it should be.

As a result, all unique indexes without the dropDups flag set in mongo are incorrectly dropped and then recreated when we run SchemaManager::updateIndexes()

This looks like a typo, so I've included the patch to fix.