You are here

function party_user_update_7001 in Party 8.2

Same name and namespace in other branches
  1. 7 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 44
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);
}