Needs review
Project:
RSVP
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 May 2011 at 18:26 UTC
Updated:
23 May 2011 at 18:26 UTC
I see that the mail parameters for drupal_mail() are generated via rsvp_mailer_replacements(). The way this function is used seems a bit strange to me, but that's for another issue.
I think it would be very useful to pass along the RSVP object. Otherwise, modules implementing hook_mail_alter() have no data to really work with.
Patch attached does just that.
| Comment | File | Size | Author |
|---|---|---|---|
| rsvp_add-rsvp-object-to-mail-params.patch | 490 bytes | mstef |