A platform for community discussion. Free, open, simple.
DEV: Correct description in `posts:missing_uploads` rake task.
Guo Xiang Tan2cc556150447
diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rakeindex 6f441068593..a0be9c789e8 100644--- a/lib/tasks/posts.rake+++ b/lib/tasks/posts.rake@@ -471,7 +471,7 @@ def missing_uploadsmissing[: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")elseputs "could not find post #{id}"