In Groups 3.0 the getContents method has been removed and replaced with getRelationships()
Needs review
3.1
Code
Note: This may only be applicable for people who have upgraded to Groups 3.x..