We need to get rid of the ignore_quotes thing as well

This commit is contained in:
michael@discoursehosting.com 2017-04-02 20:33:48 +00:00
parent 60be3e0d38
commit 7e27559f3e
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
db2 = create_db_connection db2 = create_db_connection
create_posts(query(<<-SQL), total: total) do |message| create_posts(query(<<-SQL), total: total) do |message|
SELECT m.id_msg, m.id_topic, m.id_member, m.poster_time, m.body, o.ignore_quotes, SELECT m.id_msg, m.id_topic, m.id_member, m.poster_time, m.body,
m.subject, t.id_board, t.id_first_msg, COUNT(a.id_attach) AS attachment_count m.subject, t.id_board, t.id_first_msg, COUNT(a.id_attach) AS attachment_count
FROM {prefix}messages AS m FROM {prefix}messages AS m
LEFT JOIN {prefix}topics AS t ON t.id_topic = m.id_topic LEFT JOIN {prefix}topics AS t ON t.id_topic = m.id_topic
@ -197,7 +197,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
ORDER BY m.id_topic ASC, m.id_msg ASC ORDER BY m.id_topic ASC, m.id_msg ASC
SQL SQL
skip = false skip = false
ignore_quotes = (message[:ignore_quotes] == 1) ignore_quotes = false
post = { post = {
id: message[:id_msg], id: message[:id_msg],
user_id: user_id_from_imported_user_id(message[:id_member]) || -1, user_id: user_id_from_imported_user_id(message[:id_member]) || -1,