FEATURE: Disable removal of backups from S3

This commit is contained in:
Robin Ward
2016-03-01 14:01:51 -05:00
parent 41a0f9b7fd
commit 618eef680e
3 changed files with 4 additions and 1 deletions

View File

@@ -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