mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
remove useless 'order by'
This commit is contained in:
parent
b489384b59
commit
232b5387d0
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue