0
0
Fork 0

Silence more scope order warnings (#1604)

This commit is contained in:
Matt Jankowski 2017-04-12 09:58:08 -04:00 committed by Eugen
parent b155e6ccf5
commit 323671a653
4 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ class AfterBlockService < BaseService
home_key = FeedManager.instance.key(:home, account.id)
redis.pipelined do
target_account.statuses.select('id').find_each do |status|
target_account.statuses.select('id').reorder(nil).find_each do |status|
redis.zrem(home_key, status.id)
end
end