diff --git a/lib/export/exporter.rb b/lib/export/exporter.rb index 495ee6a5c..19ca277e8 100644 --- a/lib/export/exporter.rb +++ b/lib/export/exporter.rb @@ -266,7 +266,6 @@ module Export def notify_user log "Notifying '#{@user.username}' of the end of the backup..." - # NOTE: will only notify if @user != Discourse.site_contact_user if @success SystemMessage.create_from_system_user(@user, :export_succeeded) else diff --git a/lib/import/importer.rb b/lib/import/importer.rb index ca62d6ce2..5e1be7693 100644 --- a/lib/import/importer.rb +++ b/lib/import/importer.rb @@ -282,7 +282,6 @@ module Import def notify_user if user = User.find_by(email: @user_info[:email]) log "Notifying '#{user.username}' of the end of the restore..." - # NOTE: will only notify if user != Discourse.site_contact_user if @success SystemMessage.create_from_system_user(user, :import_succeeded) else