diff options
author | http://jneen.net/ <jneen@jneen.net> | 2017-08-03 00:14:53 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2017-08-03 19:07:18 +0300 |
commit | eaa503d679e3c2a1396091efebda49a91637cb02 (patch) | |
tree | 2c66a9d55be1bed171852712eea0d041e90cba94 /app/services/notification_service.rb | |
parent | 56a40a2b6548d57c2c2a32b34a76c157ae5fdeab (diff) |
move the read_ability logic into NotificationRecipient
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 1 |
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) |