diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-19 16:24:22 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-19 22:19:56 +0200 |
commit | f808ecf11e5e5664b9617112691efece5ed01980 (patch) | |
tree | 1ad1efb2e678bc9fb4024aa8523b1746197f0e62 /app/services/notification_service.rb | |
parent | 3880bb61760ef1f69b0df49148202ff6b4208f01 (diff) | |
download | gitlab-ce-f808ecf11e5e5664b9617112691efece5ed01980.tar.gz |
DRY mentioned in magic note constant
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index fe39f83b400..36781314278 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -119,7 +119,7 @@ class NotificationService # ignore gitlab service messages return true if note.note =~ /\A_Status changed to closed_/ - return true if note.note =~ /\A_mentioned in / && note.system == true + return true if note.cross_reference? && note.system == true opts = { noteable_type: note.noteable_type, project_id: note.project_id } |