mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
DEV: Correct description in posts:missing_uploads
rake task.
This commit is contained in:
parent
4c89f7f881
commit
2cc5561504
@ -471,7 +471,7 @@ def missing_uploads
|
||||
missing[:post_uploads].each do |id, uploads|
|
||||
post = Post.with_deleted.find_by(id: id)
|
||||
if post
|
||||
puts "#{post.full_url} giving up on #{uploads.length} upload/s"
|
||||
puts "#{post.full_url} giving up on #{uploads.length} upload(s)"
|
||||
PostCustomField.create!(post_id: post.id, name: Post::MISSING_UPLOADS_IGNORED, value: "t")
|
||||
else
|
||||
puts "could not find post #{id}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user