function party_user_update_7001 in Party 7
Same name and namespace in other branches
- 8.2 modules/party_user/party_user.install \party_user_update_7001()
Bring across party_user_create_on_register variable to new format.
File
- modules/
party_user/ party_user.install, line 63 - party_user.install Contains install hooks.
Code
function party_user_update_7001() {
$on_registration = variable_get('party_user_create_on_register', FALSE) ? 'create' : 'nothing';
variable_set('party_user_on_registration', $on_registration);
}