first of all i want to thank you for your module, it's really useful.

i looked a bit at the code and did some small improvements, e.g.

  • caching menu items
  • access checking "use referral" before inserting a referral in the database
  • l() normally does a check_plain()

patch attached

CommentFileSizeAuthor
referal_fixes.patch4.59 KBfago

Comments

pomliane’s picture

Component: Code » Code: referral
Status: Active » Closed (won't fix)

This version of User Referral is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.