typo (#7065)
This commit is contained in:
parent
dc961fecb9
commit
42df20e4f0
|
@ -402,7 +402,7 @@ module BackupRestore
|
||||||
log "Reloading site settings..."
|
log "Reloading site settings..."
|
||||||
SiteSetting.refresh!
|
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
|
user = User.find_by_email(@user_info[:email]) || Discourse.system_user
|
||||||
SiteSetting.set_and_log(:disable_emails, 'non-staff', user)
|
SiteSetting.set_and_log(:disable_emails, 'non-staff', user)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue