summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-07-26 09:32:37 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 09:07:18 -0700
commit651f50ac00bdf14ae660af0fea3d463d07d8d25f (patch)
tree5cde5d1069bacdc7a4fb344332b3fbc14f7a3a5d
parent618a3d125c0faf3b6e0484bc9955ffd0a597ad33 (diff)
downloadgitlab-ce-651f50ac00bdf14ae660af0fea3d463d07d8d25f.tar.gz
make sure #custom_action is always defined
-rw-r--r--app/services/notification_recipient_service.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index 5d8c3a39af1..b286cc373bd 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -85,6 +85,10 @@ module NotificationRecipientService
end
end
+ def custom_action
+ nil
+ end
+
protected
def add_participants(user)