function invite_update_12 in Invite 6.2
Same name and namespace in other branches
- 5.2 invite.install \invite_update_12()
- 7.2 invite.install \invite_update_12()
Change user_register value for enhanced compatibility with LoginToboggan.
File
- ./
invite.install, line 317 - 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();
}