Active
Project:
User External Invite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2017 at 20:05 UTC
Updated:
22 Mar 2017 at 20:05 UTC
Jump to comment: Most recent
In thinking about #2827208: Send user who created invite an email when unused invites expire, I realized that much of the updating of invites entities is done directly via database queries. This makes it hard to perform actions or checks any time an entity would be updated, deleted, etc.
The idea for this ticket would be to replace the db_delete() and db_update functions with entity_save() and entity_delete() functions. Then in #2827208: Send user who created invite an email when unused invites expire, the entity hooks can be used to send an email to the inviter when an invite expires no matter where or how it is set to expire.
Comments