mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 10:06:17 +08:00
Merge pull request #3261 from dpi/patch-1
vBulletin user import missing email field
This commit is contained in:
commit
4fd19d6328
|
@ -58,11 +58,9 @@ class ImportScripts::VBulletin < ImportScripts::Base
|
|||
|
||||
user_count = mysql_query("SELECT COUNT(userid) count FROM user").first["count"]
|
||||
|
||||
# TODO: add email back in when using real data
|
||||
|
||||
batches(BATCH_SIZE) do |offset|
|
||||
users = mysql_query <<-SQL
|
||||
SELECT userid, username, homepage, usertitle, usergroupid, joindate
|
||||
SELECT userid, username, homepage, usertitle, usergroupid, joindate, email
|
||||
FROM user
|
||||
ORDER BY userid
|
||||
LIMIT #{BATCH_SIZE}
|
||||
|
|
Loading…
Reference in New Issue
Block a user