function _adsense_get_referral_uid in Google AdSense integration 5
1 call to _adsense_get_referral_uid()
File
- ./
adsense.module, line 1550
Code
function _adsense_get_referral_uid($uid) {
if (!module_exists('referral')) {
return $uid;
}
$referral_uid = referral_get_user($uid);
if (!$referral_uid) {
// User was not referred by an existing user
return false;
}
return $referral_uid;
}