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
| Comment | File | Size | Author |
|---|---|---|---|
| invite_api.patch | 562 bytes | smk-ka |
Comments
Comment #1
kbahey commentedSubscribing.
Comment #2
AjK commentedkbahey, 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.
Comment #3
smk-ka commentedCommited and backported to DRUPAL-4-7.
Comment #4
(not verified) commented