Improve phpBB3 importer

* Log errors when mapping of posts, messages, etc. fails
* Allow permalink normalizations for old subfolder installation
* Disable importing of polls for now. It's broken.
This commit is contained in:
Gerhard Schlager
2019-02-17 23:20:20 +01:00
parent 8d5dfe1e01
commit 24369a8166
4 changed files with 37 additions and 5 deletions

View File

@@ -84,11 +84,13 @@ module ImportScripts::PhpBB3
attr_reader :create_category_links
attr_reader :create_topic_links
attr_reader :create_post_links
attr_reader :normalization_prefix
def initialize(yaml)
@create_category_links = yaml['categories']
@create_topic_links = yaml['topics']
@create_post_links = yaml['posts']
@normalization_prefix = yaml['prefix']
end
end
end