Import scripts: relax our posting rules before the import starts

This commit is contained in:
Neil Lalonde 2014-06-05 14:40:11 -04:00
parent 6ae7d48fd1
commit 9bd76b0c16
1 changed files with 7 additions and 0 deletions

View File

@ -30,7 +30,14 @@ class ImportScripts::Base
def perform
Rails.logger.level = 3 # :error, so that we don't create log files that are many GB
SiteSetting.email_domains_blacklist = ''
SiteSetting.min_topic_title_length = 1
SiteSetting.min_post_length = 1
SiteSetting.min_private_message_post_length = 1
SiteSetting.min_private_message_title_length = 1
SiteSetting.allow_duplicate_topic_titles = true
RateLimiter.disable
execute