diff options
author | Brian Neel <brian@gitlab.com> | 2017-08-04 05:20:34 +0300 |
---|---|---|
committer | Brian Neel <brian@gitlab.com> | 2017-08-08 17:50:54 +0300 |
commit | 9770c57fab0315865a33c8b6df269eded0d57b5c (patch) | |
tree | 5a7c7a9fccbce5ef3ccf6b02b1297aace41101fd /app/models/notification_setting.rb | |
parent | b612a47da0e0225332a59ab961206f84602ad629 (diff) |
Re-enable SqlInjection and CommandInjection
Diffstat (limited to 'app/models/notification_setting.rb')
-rw-r--r-- | app/models/notification_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/notification_setting.rb b/app/models/notification_setting.rb index 9b1cac64c44..245f8dddcf9 100644 --- a/app/models/notification_setting.rb +++ b/app/models/notification_setting.rb @@ -66,6 +66,6 @@ class NotificationSetting < ActiveRecord::Base alias_method :failed_pipeline?, :failed_pipeline def event_enabled?(event) - respond_to?(event) && !!public_send(event) + respond_to?(event) && !!public_send(event) # rubocop:disable GitlabSecurity/PublicSend end end |