summaryrefslogtreecommitdiffstats
path: root/lib/redmine/notifiable.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-04-28 06:40:12 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-04-28 06:40:12 +0000
commitb5c48c1d973c501de61e7cbd1b6f8ad9ac1f112d (patch)
tree203b7eefea0cd8aa4af4e1555e89a9ac4f03efdf /lib/redmine/notifiable.rb
parente4fcfc6990a724cacd6d4e978ee051735769f180 (diff)
downloadredmine-b5c48c1d973c501de61e7cbd1b6f8ad9ac1f112d.tar.gz
redmine-b5c48c1d973c501de61e7cbd1b6f8ad9ac1f112d.zip
Adds an option to send email notification when an attachment is added (#40569).
Patch by Mizuki ISHIKAWA (#ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/notifiable.rb')
-rw-r--r--lib/redmine/notifiable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/notifiable.rb b/lib/redmine/notifiable.rb
index 6fce9122d..05400b7ad 100644
--- a/lib/redmine/notifiable.rb
+++ b/lib/redmine/notifiable.rb
@@ -34,6 +34,7 @@ module Redmine
notifications << Notifiable.new('issue_assigned_to_updated', 'issue_updated')
notifications << Notifiable.new('issue_priority_updated', 'issue_updated')
notifications << Notifiable.new('issue_fixed_version_updated', 'issue_updated')
+ notifications << Notifiable.new('issue_attachment_added', 'issue_updated')
notifications << Notifiable.new('news_added')
notifications << Notifiable.new('news_comment_added')
notifications << Notifiable.new('document_added')