v0.58 Final user import and personal message import run

This commit is contained in:
David Sainty 2024-08-31 23:27:28 +10:00
parent b424be35c6
commit 3bcc263282

View File

@ -624,7 +624,8 @@ class GossamerForumsImporter < ImportScripts::Base
users = []
# Fetch all users from Gossamer Forums
execute_query("SELECT * FROM gforum_User").each do |row|
# execute_query("SELECT * FROM gforum_User").each do |row|
execute_query("SELECT user_id, user_username, user_email, user_real_name, user_registered, user_last_seen, user_title, user_about, user_homepage, user_location, user_password FROM gforum_User WHERE user_id > 123381").each do |row|
username = sanitize_username(row['user_username'], row['user_email'], row['user_real_name'])
email = row['user_email']