function _referral_ref2uid in User Referral 6
Same name and namespace in other branches
- 5 referral.module \_referral_ref2uid()
- 7 referral.module \_referral_ref2uid()
1 call to _referral_ref2uid()
File
- ./
referral.module, line 524
Code
function _referral_ref2uid($ref) {
if ($ref) {
if (is_numeric('0x' . $ref)) {
$uid = hexdec($ref) - _referral_hex_seed();
return $uid;
}
}
return FALSE;
}