You are here

function social_group_update_8006 in Open Social 8.2

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/social_group.install \social_group_update_8006()
  2. 8 modules/social_features/social_group/social_group.install \social_group_update_8006()
  3. 8.3 modules/social_features/social_group/social_group.install \social_group_update_8006()
  4. 8.4 modules/social_features/social_group/social_group.install \social_group_update_8006()
  5. 8.5 modules/social_features/social_group/social_group.install \social_group_update_8006()
  6. 8.6 modules/social_features/social_group/social_group.install \social_group_update_8006()
  7. 8.7 modules/social_features/social_group/social_group.install \social_group_update_8006()
  8. 8.8 modules/social_features/social_group/social_group.install \social_group_update_8006()
  9. 10.3.x modules/social_features/social_group/social_group.install \social_group_update_8006()
  10. 10.0.x modules/social_features/social_group/social_group.install \social_group_update_8006()
  11. 10.1.x modules/social_features/social_group/social_group.install \social_group_update_8006()
  12. 10.2.x modules/social_features/social_group/social_group.install \social_group_update_8006()

Add 'closed_group' group type and enable the permission for Authenticated.

File

modules/social_features/social_group/social_group.install, line 297
Install, update and uninstall functions for the social_group module.

Code

function social_group_update_8006() {
  $permissions = _social_group_get_permissions('authenticated');
  user_role_grant_permissions('authenticated', $permissions);
}