You are here

function invite_update_12 in Invite 5.2

Same name and namespace in other branches
  1. 6.2 invite.install \invite_update_12()
  2. 7.2 invite.install \invite_update_12()

Change user_register value for enhanced compatibility with LoginToboggan.

File

./invite.install, line 363
Installation file for invite module.

Code

function invite_update_12() {
  if (variable_get('user_register', 1) == 'inviteonly') {
    variable_set('user_register', '1-inviteonly');
  }
  return array();
}