mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 13:09:25 +08:00
FIX: migrate_from_s3 rake task not working
This commit is contained in:
parent
36ed8f5176
commit
83a346cd68
@ -112,7 +112,7 @@ def migrate_from_s3
|
|||||||
require "file_store/s3_store"
|
require "file_store/s3_store"
|
||||||
|
|
||||||
# make sure S3 is disabled
|
# make sure S3 is disabled
|
||||||
if SiteSetting.Uploads.enable_s3_uploads
|
if SiteSetting.Upload.enable_s3_uploads
|
||||||
puts "You must disable S3 uploads before running that task."
|
puts "You must disable S3 uploads before running that task."
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user