You are here

function services_client_user_update in Services Client 7

Implements hook_user_update().

File

./services_client.module, line 352
Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.

Code

function services_client_user_update(&$edit, $account, $category) {
  if (!empty($edit['_services_client_skip'])) {
    unset($edit['_services_client_skip']);
    return;
  }
  if (isset($edit['_services_client'])) {
    $account->_services_client = $edit['_services_client'];
  }
  services_client_data_process($account, 'user_save');
}