Enable or disable email notifications to user on flagged items.
nrussell - December 1, 2007 - 00:06
| Project: | Flag content |
| Version: | 5.x-2.5 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
This would give you the flexibility to turn email notifications off when an item is flagged. This can be handy if you want to support your own email notifications throughout your site without having to override the email theme for this module, or if you simply do not want an email to be sent when an item is flagged.

#1
Added radio to admin settings with two options (Yes) and (No). In flag_content_add_submit(), an if statement is called to check the value of this radio. If the value is set to (Yes), then the original functionality is run and the user is emailed. If the value is set to (No), then the script continues without emailing the user.