Reason behind: The userpoints module integrates with the invite API, and allows to give some points for sent invitations. When a invitation is cancelled, it should be possible to subtract the given points again from the inviter's account, to prevent abuse through sending and immedate cancelling of invitations. This patch adds the current user to the $args that will be passed to hook_invite().
--
Stefan Kudwien
www.unleashedmind.com

CommentFileSizeAuthor
invite_api.patch562 bytessmk-ka

Comments

kbahey’s picture

Subscribing.

AjK’s picture

kbahey, I see you have made commits to invite in the past. You can again. Like Stefan, you've been added to the CVS commit list for invite.

smk-ka’s picture

Status: Needs review » Fixed

Commited and backported to DRUPAL-4-7.

Anonymous’s picture

Status: Fixed » Closed (fixed)