Skip to content

Commit

Permalink
Fixed: #126
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed Sep 27, 2013
1 parent 9d52f18 commit ff0f4a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions EMongoDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,6 @@ protected function beforeFind()
if($this->hasEventHandler('onBeforeFind'))
{
$event = new CModelEvent($this);
// for backward compatibility
$event->criteria = func_num_args() > 0 ? func_get_arg(0) : null;
$this->onBeforeFind($event);
}
}
Expand Down

0 comments on commit ff0f4a3

Please sign in to comment.