mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
fix the build
This commit is contained in:
parent
a65ce81e25
commit
5a70367a05
@ -27,8 +27,7 @@ task "avatars:clean" => :environment do
|
||||
|
||||
optimized_image_ids = OptimizedImage.where("upload_id IN (SELECT custom_upload_id FROM user_avatars) OR
|
||||
upload_id IN (SELECT gravatar_upload_id FROM user_avatars) OR
|
||||
upload_id IN (SELECT uploaded_avatar_id FROM users)")
|
||||
.pluck(:id)
|
||||
upload_id IN (SELECT uploaded_avatar_id FROM users)").pluck(:id)
|
||||
|
||||
optimized_image_ids.each do |id|
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user