mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 18:25:41 +08:00
Apparently need to save
This commit is contained in:
parent
a72f56c3a7
commit
7d09af141e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user