mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 08:49:20 +00:00
remove useless 'order by'
This commit is contained in:
parent
b489384b59
commit
232b5387d0
@ -232,7 +232,6 @@ def regenerate_missing_optimized
|
||||
OptimizedImage.includes(:upload)
|
||||
.where("LENGTH(COALESCE(url, '')) > 0")
|
||||
.where("width > 0 AND height > 0")
|
||||
.order(:id)
|
||||
.find_each do |optimized_image|
|
||||
|
||||
upload = optimized_image.upload
|
||||
|
Loading…
x
Reference in New Issue
Block a user