mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add hidden setting to include S3 uploads in backups
This commit is contained in:
@@ -167,6 +167,10 @@ module FileStore
|
||||
end
|
||||
end
|
||||
|
||||
def download_file(upload, destination_path)
|
||||
@s3_helper.download_file(get_upload_key(upload), destination_path)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def get_upload_key(upload)
|
||||
|
||||
Reference in New Issue
Block a user