mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Make import scripts work with frozen strings
This commit is contained in:
@ -26,8 +26,10 @@ module ImportScripts::PhpBB3
|
||||
require_relative 'database_3_1'
|
||||
Database_3_1.new(@database_client, @database_settings)
|
||||
else
|
||||
raise UnsupportedVersionError, "Unsupported version (#{version}) of phpBB detected.\n" \
|
||||
<< 'Currently only 3.0.x and 3.1.x are supported by this importer.'
|
||||
raise UnsupportedVersionError, <<~MSG
|
||||
Unsupported version (#{version}) of phpBB detected.
|
||||
Currently only 3.0.x and 3.1.x are supported by this importer.
|
||||
MSG
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user