mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 01:55:46 +08:00
DEV: Remove unused kwarg and properly check for local missing uploads.
This commit is contained in:
@ -82,7 +82,7 @@ class S3Inventory
|
||||
def list_missing_post_uploads
|
||||
log "Listing missing post uploads..."
|
||||
|
||||
missing = Post.find_missing_uploads(include_local_upload: false) do |post, _, _, sha1|
|
||||
missing = Post.find_missing_uploads do |post, _, _, sha1|
|
||||
next if sha1.blank?
|
||||
|
||||
upload_id = nil
|
||||
|
Reference in New Issue
Block a user