DEV: Support phpBB 3.3 imports (#17641)

* handle polls with duplicate items
* handle polls with incorrect poll_option_total values
* handle group IDs in personal messages
* support for version 3.3
This commit is contained in:
communiteq
2022-07-25 22:07:03 +02:00
committed by GitHub
parent 994ca8f6de
commit 603f36ca4a
5 changed files with 29 additions and 11 deletions
@@ -14,7 +14,7 @@ module ImportScripts::PhpBB3
@database = database
@smiley_processor = smiley_processor
@he = HTMLEntities.new
@use_xml_to_markdown = phpbb_config[:phpbb_version].start_with?('3.2')
@use_xml_to_markdown = phpbb_config[:phpbb_version].start_with?('3.2') || phpbb_config[:phpbb_version].start_with?('3.3')
@settings = settings
@new_site_prefix = settings.new_site_prefix