silverstripe/sapphire — pull request #422 by stojg (2012-05-10 01:57:06+00:00)
Title: BUGFIX: Member::mapInGroups() throws SQL error

Renamed the Member::mapInGroups() to Member::map_in_groups() since it's a static method and throws deprecation message if using the old variant.

Rewrote the mapInGroups to use a more ORMy way of fetching Members for a set of groups and included a test for. It's not very performant, but should be okey for now. YAGNI.