Sammaye/MongoYii — pull request #165 by Rathil (2013-11-25 18:29:52+00:00)
Title: Bug fix empty dbCriteria

Fix bug reuse model.
Example:
SomeModel {
defaultScope(){
// ...
}
}
var_dump(SomeModel::model()->getDbCriteria()); // criteria from defaultScope
SomeModel::model()->findAll();
var_dump(SomeModel::model()->getDbCriteria()); // criteria from defaultScope will not be!