mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
FIX: remove the unwanted code.
This commit is contained in:
parent
41bc90dd3e
commit
9f43852609
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user