yiisoft/yii2 — pull request #4537 by docsolver (2014-07-30 22:04:30+00:00)
Title: Replaced depricated method ensureIndex with createIndex

MongoCollection::ensureIndex() has been depricated.
http://be2.php.net/manual/en/mongocollection.ensureindex.php