v0.26.4 Modify upload attachment code to try and make Discourse happy
This commit is contained in:
parent
1036d2898b
commit
1281f389e3
@ -427,7 +427,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
temp_file.rewind
|
||||
|
||||
puts "Attempting upload..."
|
||||
upload = upload_attachment(user_id, temp_file, att_row['postatt_filename'])
|
||||
upload = upload_attachment_two(user_id, temp_file, att_row['postatt_filename'])
|
||||
next unless upload
|
||||
|
||||
# Get the URL of the uploaded file from Discourse
|
||||
|
Loading…
Reference in New Issue
Block a user