Skip to content

A platform for community discussion. Free, open, simple.

FIX: remove the unwanted code.

Vinoth Kannan9f43852609f2
diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rake
index 91da0789a16..e15b1ec8275 100644
--- a/lib/tasks/posts.rake
+++ b/lib/tasks/posts.rake
@@ -419,7 +419,6 @@ task 'posts:missing_uploads' => :environment do
tmp.rewind
if upload = UploadCreator.new(tmp, File.basename(path)).create_for(Discourse.system_user.id)
- sha1s << upload.sha1
upload_id = upload.id
DbHelper.remap(UrlHelper.absolute(src), upload.url)