Hi again,
External modules will inevitably need to determine what a user's referral link is (ex: I've seen some people looking for integration into invitation modules). _referral_uid2ref() is private and should not be called from external modules.
The attached patch adds a referral_link property to the user object.
Cheers
| Comment | File | Size | Author |
|---|---|---|---|
| referral.module.userobj.patch | 727 bytes | ryan_courtnage |
Comments
Comment #1
kbahey commentedGood idea.
Committed.
Thanks.