This commit is contained in:
Joffrey JAFFEUX 2019-02-25 16:36:22 +01:00 committed by GitHub
parent dc961fecb9
commit 42df20e4f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ module BackupRestore
log "Reloading site settings..."
SiteSetting.refresh!
log "Disabling outgoing emails for non-stuff users..."
log "Disabling outgoing emails for non-staff users..."
user = User.find_by_email(@user_info[:email]) || Discourse.system_user
SiteSetting.set_and_log(:disable_emails, 'non-staff', user)
end