You are here

function user_revision_user_profile_form_submit in User Revision 7.2

Same name and namespace in other branches
  1. 7 user_revision.module \user_revision_user_profile_form_submit()

Submit function for the user account and profile editing form.

1 string reference to 'user_revision_user_profile_form_submit'
user_revision_form_user_profile_form_alter in ./user_revision.module
] * Implements hook_form_alter().

File

./user_revision.module, line 371
Enables user revision.

Code

function user_revision_user_profile_form_submit($form, &$form_state) {
  $form_state['user']->revision = $form_state['values']['revision'];
  $form_state['user']->log = $form_state['values']['log'];
  $form_state['user']->ip = $form_state['values']['ip'];
}