Change RuboCop rules to loose (#4464)
This commit is contained in:
parent
93aafa8549
commit
3e7a541e09
4 changed files with 9 additions and 8 deletions
|
@ -90,7 +90,7 @@ class BatchedRemoveStatusService < BaseService
|
|||
key = FeedManager.instance.key(:home, follower_id)
|
||||
|
||||
originals = statuses.reject(&:reblog?)
|
||||
reblogs = statuses.reject { |s| !s.reblog? }
|
||||
reblogs = statuses.select(&:reblog?)
|
||||
|
||||
# Quickly remove all originals
|
||||
redis.pipelined do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue