Revert "FIX: Don't allow people to clear the upload bucket while it's enabled"

This reverts commit 4bb8db024c247f20af9245723ebea4c474eeb16a.
This commit is contained in:
Robin Ward
2020-03-05 16:29:49 -05:00
parent 3e21d40bc4
commit d4fc76b335
2 changed files with 0 additions and 11 deletions

View File

@ -143,8 +143,6 @@ module SiteSettings::Validations
def validate_s3_upload_bucket(new_val)
validate_bucket_setting("s3_upload_bucket", new_val, SiteSetting.s3_backup_bucket)
validate_error(:s3_upload_bucket_is_required, setting_name: 's3_upload_bucket') if new_val.blank? && SiteSetting.enable_s3_uploads?
end
def validate_s3_backup_bucket(new_val)