mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 20:33:38 +08:00
FIX: don't use the user's discovery text as bio in vanilla importer
This commit is contained in:
parent
841d547a48
commit
e3640060fc
|
@ -84,7 +84,7 @@ class ImportScripts::Vanilla < ImportScripts::Base
|
|||
next if user[:name] == "[Deleted User]"
|
||||
|
||||
last_activity = activities.select { |a| user[:user_id] == a[:activity_user_id] }.last
|
||||
bio_raw = last_activity.try(:[], :story) || user[:discovery_text] || ""
|
||||
bio_raw = last_activity.try(:[], :story) || ""
|
||||
|
||||
u = {
|
||||
id: user[:user_id],
|
||||
|
|
Loading…
Reference in New Issue
Block a user