You are here

function referral_user_load in User Referral 7

Implements hook_user_load().

File

./referral.module, line 290
The referral module.

Code

function referral_user_load($users) {
  foreach ($users as $user) {
    $user->referral_link = 'referral/' . _referral_uid2ref($user->uid);
  }
}