You are here

function pcp_user_admin_settings_submit in Profile Complete Percent 6.2

Called when a user submits the admin user settings form.

1 string reference to 'pcp_user_admin_settings_submit'
pcp_form_user_admin_settings_alter in ./pcp.module
Implementation of hook_form_FORM_ID_alter().

File

./pcp.module, line 145
Allows users with valid permissions to tag profile fields created from the profile module as required fields for a users profile to be considered complete.

Code

function pcp_user_admin_settings_submit($form, &$form_state) {
  variable_set('pcp_enable_user_picture', $form_state['values']['pcp_enable_user_picture']);
}