You are here

function services_client_user_exclude in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client.legacy.inc \services_client_user_exclude()

Determine whether user can be synced.

Parameters

$account: User account

1 call to services_client_user_exclude()
services_client_make_user_call in ./services_client.module
Make the actual user create/update call for each connection and task

File

./services_client.module, line 1179
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_exclude($account) {
  $exclude = explode(',', trim(variable_get('services_client_exclude_users', '1')));
  return in_array($account->uid, $exclude);
}