You are here

function hosting_client_user_load in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 client/hosting_client.access.inc \hosting_client_user_load()

Implements hook_user_load().

File

client/hosting_client.access.inc, line 10
Control client node access.

Code

function hosting_client_user_load($users) {
  foreach ($users as $uid => $user) {
    $users[$uid]->client_id = hosting_get_client_from_user($user->uid);
  }
}