mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Disable removal of backups from S3
This commit is contained in:
@@ -34,7 +34,7 @@ class Backup
|
||||
end
|
||||
|
||||
def after_remove_hook
|
||||
remove_from_s3 if SiteSetting.enable_s3_backups?
|
||||
remove_from_s3 if SiteSetting.enable_s3_backups? && !SiteSetting.s3_disable_cleanup?
|
||||
end
|
||||
|
||||
def s3_bucket
|
||||
|
||||
Reference in New Issue
Block a user