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

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2016-05-17 01:42:54 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2016-06-26 07:21:00 +0300
commit83f5662d629fd51d7966b42d958a8534034062ad (patch)
treed72419e6cbd8827d8d48a7caf537bdc1758cec13 /app/workers
parent645c7bd5ad99cb2484cddbd5cd9e09b3c37a7d93 (diff)
remove NotifyLocalUsers worker
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/notify_local_users.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/workers/notify_local_users.rb b/app/workers/notify_local_users.rb
deleted file mode 100644
index 18a15886b..000000000
--- a/app/workers/notify_local_users.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
-
-module Workers
- class NotifyLocalUsers < Base
- sidekiq_options queue: :receive_local
-
- def perform(user_ids, object_klass, object_id, person_id)
-
- object = object_klass.constantize.find_by_id(object_id)
-
- users = User.where(:id => user_ids)
- person = Person.find_by_id(person_id)
-
- # TODO: users.find_each{|user| Notification.notify(user, object, person) }
- end
- end
-end