Elgg/Elgg — pull request #109 by jdnavarro (2011-12-13 17:15:36+00:00)
Title: Add function to get all groups with a given name

I added a function resembling `get_user_by_username` for groups. Perhaps there is a clean way to do it without this function.

I haven't cached the results, do you think it's necessary for this kind of query?

I could add this function in a plugin but thought this could go into the core if you think it's appropriated.

Let me know what you think.