diff options
author | Lukas Matt <lukas@zauberstuhl.de> | 2014-03-21 18:48:48 +0400 |
---|---|---|
committer | Lukas Matt <lukas@zauberstuhl.de> | 2014-05-15 15:23:43 +0400 |
commit | 26d0c81dae88370b5efd1d10a813eb157eb580ab (patch) | |
tree | f0029c34843e30d268574f01b5fe495ad1e1d9c7 /app/models/user_preference.rb | |
parent | 719edcd1a7cb79827935fced10a922a037af3658 (diff) |
Added the ability to disable report-email-notification
Podmin can see a extra checkbox in Settings > Account
for disabling report-email-notification
Diffstat (limited to 'app/models/user_preference.rb')
-rw-r--r-- | app/models/user_preference.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index cf73c7d58..354a48400 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -4,7 +4,8 @@ class UserPreference < ActiveRecord::Base validate :must_be_valid_email_type VALID_EMAIL_TYPES = - ["mentioned", + ["someone_reported", + "mentioned", "comment_on_post", "private_message", "started_sharing", |