mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 14:48:03 +08:00
Revert changes added by mistake in 2b19e2acc89fb2da856204c312f2e18fb5933d54.
This commit is contained in:
@ -238,7 +238,6 @@ def migration_successful?(db, should_raise = false)
|
||||
|
||||
puts error_message if count > 0
|
||||
|
||||
db = "default"
|
||||
cdn_path = SiteSetting.cdn_path("/uploads/#{db}/original").sub(/https?:/, "")
|
||||
count = Post.where("cooked LIKE '%#{cdn_path}%'").count
|
||||
error_message = "#{count} posts are not remapped to new S3 upload URL. #{failure_message}"
|
||||
|
Reference in New Issue
Block a user