You are here

function group_update_7005 in Group 7

Change the group_admin role to be deletable.

File

./group.install, line 562
Install, update and uninstall functions for the Group project.

Code

function group_update_7005() {
  if ($group_admin = group_role_load('group_admin')) {
    $group_admin->status = ENTITY_CUSTOM;
    $group_admin
      ->save();
  }
}