mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: don't use the user's discovery text as bio in vanilla importer
This commit is contained in:
parent
841d547a48
commit
e3640060fc
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class ImportScripts::Vanilla < ImportScripts::Base
|
||||||
next if user[:name] == "[Deleted User]"
|
next if user[:name] == "[Deleted User]"
|
||||||
|
|
||||||
last_activity = activities.select { |a| user[:user_id] == a[:activity_user_id] }.last
|
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 = {
|
u = {
|
||||||
id: user[:user_id],
|
id: user[:user_id],
|
||||||
|
|
Loading…
Reference in a new issue