about summary refs log tree commit diff
path: root/app/services/notify_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-05 19:18:11 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-05 19:18:11 +0100
commit920ba5fc4e705ea9418d2cab12e4d2ffd53775de (patch)
tree9285c8beb7c1cfb9b85f66df55ed022e4916a311 /app/services/notify_service.rb
parent77e13c2bc93fdb633f27f94989ab5770f9ecc3b3 (diff)
Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
Try to fix Travis CI setup
Diffstat (limited to 'app/services/notify_service.rb')
-rw-r--r--app/services/notify_service.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb
index 0cc3cd618..942cd9d21 100644
--- a/app/services/notify_service.rb
+++ b/app/services/notify_service.rb
@@ -10,7 +10,6 @@ class NotifyService < BaseService
 
     create_notification
     send_email if email_enabled?
-    send_push_notification
   rescue ActiveRecord::RecordInvalid
     return
   end
@@ -58,10 +57,6 @@ class NotifyService < BaseService
     NotificationMailer.send(@notification.type, @recipient, @notification).deliver_later
   end
 
-  def send_push_notification
-    PushNotificationWorker.perform_async(@notification.id)
-  end
-
   def email_enabled?
     @recipient.user.settings.notification_emails[@notification.type]
   end