You are here

function adminrole_update_5100 in Admin role 5

Same name and namespace in other branches
  1. 6 adminrole.install \adminrole_update_5100()

Change the variable adminrole_adminrole to user_admin_role.

File

./adminrole.install, line 42
Install, update and uninstall functions for the adminrole module.

Code

function adminrole_update_5100() {
  variable_set('user_admin_role', variable_get('adminrole_adminrole', 0));
  variable_del('adminrole_adminrole');
  return array();
}