diff --git a/app/models/backup.rb b/app/models/backup.rb index 02a9e6e398c..38dd0b2a83e 100644 --- a/app/models/backup.rb +++ b/app/models/backup.rb @@ -30,11 +30,8 @@ class Backup end def after_create_hook - if SiteSetting.enable_s3_backups? - upload_to_s3 - else - DiscourseEvent.trigger(:backup_choice) - end + upload_to_s3 if SiteSetting.enable_s3_backups? + DiscourseEvent.trigger(:backup_created) end def after_remove_hook