Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-03 00:14:53 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 19:07:18 +0300
commiteaa503d679e3c2a1396091efebda49a91637cb02 (patch)
tree2c66a9d55be1bed171852712eea0d041e90cba94 /app/services/notification_service.rb
parent56a40a2b6548d57c2c2a32b34a76c157ae5fdeab (diff)
move the read_ability logic into NotificationRecipient
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index c93f82999dc..2e52296f048 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -303,7 +303,6 @@ class NotificationService
recipients ||= NotificationRecipientService.notifiable_users(
[pipeline.user], :watch,
custom_action: :"#{pipeline.status}_pipeline",
- read_ability: :read_build,
target: pipeline
).map(&:notification_email)