mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 00:24:39 +08:00
Apparently need to save
This commit is contained in:
@ -121,6 +121,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
|
||||
|
||||
post_create_action: proc do |user|
|
||||
user.update(created_at: create_time) if create_time < user.created_at
|
||||
user.save
|
||||
GroupUser.transaction do
|
||||
group_ids.each do |gid|
|
||||
group_id = group_id_from_imported_group_id(gid) and
|
||||
|
Reference in New Issue
Block a user