You are here

function party_user_user_update in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_user/party_user.module \party_user_user_update()

Implements hook_user_update().

Performs the email synchronisation.

File

modules/party_user/party_user.module, line 376
Support for linking users to parties

Code

function party_user_user_update($edit, $account, $category) {
  if ($category != 'account') {

    // We only want to deal with account, as that is where mail is.
    return;
  }
  party_user_email_sync($account);
}