You are here

function services_client_user_insert in Services Client 7

Implements of hook_user_insert().

File

./services_client.module, line 336
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_insert(&$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');
}