about summary refs log tree commit diff
path: root/app/services/batched_remove_status_service.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-02-12 20:29:55 +0100
committerGitHub <noreply@github.com>2019-02-12 20:29:55 +0100
commita3ba28eb17d75af37396359e8c37675e06605ccf (patch)
tree20d81ffc7b01b132e1683685a0176ede6374c13c /app/services/batched_remove_status_service.rb
parentb89e003c4d049d64d2d4015357b8b931370bc5f0 (diff)
parentb47a53f90299a1fb52423aacbc0c23427e2eb132 (diff)
Merge pull request #913 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/services/batched_remove_status_service.rb')
-rw-r--r--app/services/batched_remove_status_service.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/services/batched_remove_status_service.rb b/app/services/batched_remove_status_service.rb
index 61c408926..d78f506c6 100644
--- a/app/services/batched_remove_status_service.rb
+++ b/app/services/batched_remove_status_service.rb
@@ -2,6 +2,7 @@
 
 class BatchedRemoveStatusService < BaseService
   include StreamEntryRenderer
+  include Redisable
 
   # Delete given statuses and reblogs of them
   # Dispatch PuSH updates of the deleted statuses, but only local ones
@@ -120,10 +121,6 @@ class BatchedRemoveStatusService < BaseService
     end
   end
 
-  def redis
-    Redis.current
-  end
-
   def build_xml(stream_entry)
     return @activity_xml[stream_entry.id] if @activity_xml.key?(stream_entry.id)