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

CommentFileSizeAuthor
referral.module.userobj.patch727 bytesryan_courtnage

Comments

kbahey’s picture

Status: Needs review » Fixed

Good idea.

Committed.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.