diff options
author | Mark Chao <mchao@gitlab.com> | 2018-07-23 10:42:19 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-08-14 14:59:29 +0800 |
commit | 8411d1cffc05171e82d727d883f03e279c8e9e05 (patch) | |
tree | b09d87417123465509e43306dbba0da3d2abf640 /doc/api | |
parent | bea52d827e895c9261b3b1e01980832832f7c82a (diff) | |
download | gitlab-ce-8411d1cffc05171e82d727d883f03e279c8e9e05.tar.gz |
Add email_events to replace EMAIL_EVENTS because it needs to be dynamic,
allowing override for EE.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/notification_settings.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/notification_settings.md b/doc/api/notification_settings.md index 682b90361bd..165b9a11c7a 100644 --- a/doc/api/notification_settings.md +++ b/doc/api/notification_settings.md @@ -15,7 +15,7 @@ mention custom ``` -If the `custom` level is used, specific email events can be controlled. Notification email events are defined in the `NotificationSetting::EMAIL_EVENTS` model variable. Currently, these events are recognized: +If the `custom` level is used, specific email events can be controlled. Available events are returned by `NotificationSetting.email_events`. Currently, these events are recognized: ``` new_note |