FIX: phpBB3 importer failed to import users

FEATURE: Skip batches if posts or messages exists
This commit is contained in:
Gerhard Schlager
2015-09-30 17:56:37 +02:00
parent 29d27ec2ef
commit a03ead9767
5 changed files with 28 additions and 5 deletions

View File

@ -13,7 +13,7 @@ module ImportScripts::PhpBB3
# Executes a database query.
def query(sql)
@database_client.query(sql, cache_rows: false, symbolize_keys: true)
@database_client.query(sql, cache_rows: true, symbolize_keys: true)
end
# Executes a database query and returns the value of the 'count' column.