When you disable trusted contacts the groups tab shows up on the user profile because that is where the code to remove it was placed.
Remove "Group" tab from user profile

Comments

markbannister’s picture

OK, so what module is adding the Groups tab to the user profile? I can't seem to figure it out.

timfluhr’s picture

I'm experiencing the same issue.

markbannister’s picture

I did manage to get rid of it using a custom module but that seems overkill.

/**
 * Implements hook_menu_alter().
 */
  
function MyModuleNameHere_menu_alter(&$items) {


  $items['user/%/group']['access callback'] = FALSE;

}