$db to $this->db fix at EventModel
Merge pull request #134 from escopecz/staging

$db to $this->db fix at EventModel