summaryrefslogtreecommitdiff
path: root/app/helpers/notifications_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/notifications_helper.rb')
-rw-r--r--app/helpers/notifications_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index 8fd277564df..68dfd008921 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -122,6 +122,6 @@ module NotificationsHelper
end
def notification_event_disabled?(event)
- event == :fixed_pipeline && Feature.disabled?(:ci_pipeline_fixed_notifications)
+ event == :fixed_pipeline && !Gitlab::Ci::Features.pipeline_fixed_notifications?
end
end