Feature proposal #6907
Implement notifications trigger
Added by krileon over 5 years ago.
Updated about 5 years ago.
06 December 2017
Implement trigger in sendNotification to allow for easy override of the notification behavior. This needs to also support passing of integration objects (e.g. GJ Events event object) so can be used in CB Auto Actions to log CB Activity notifications to recipients. Needs to handle a means of toggling off the normal notification behavior as well so it doesn't send multiple notifications.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented as follows.
$_PLUGINS->trigger( 'gj_onSendNotification', array( &$type, &$fromUser, &$toUser, &$subject, &$body, $group, $extras ) );
In order to override existing behavior change $type to something greater than 4. Note subject and body are after substitution parsing.
- Status changed from Resolved to Closed
Also available in: Atom