benedmunds/CodeIgniter-Ion-Auth — pull request #134 by zwacky (2011-11-20 21:45:17+00:00)
Title: cache user groups to prevent multiple sql queries

add $_groups cache that prevents multiple sql lookups for every $this->ion_auth->in_group($id) or $this->ion_auth->get_users_groups($id) call.