mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: phase 1 of supporting multiple email addresses
This commit is contained in:
committed by
Guo Xiang Tan
parent
739794f0cb
commit
d0b027d88d
@@ -400,7 +400,7 @@ module BackupRestore
|
||||
end
|
||||
|
||||
def notify_user
|
||||
if user = User.find_by(email: @user_info[:email])
|
||||
if user = User.find_by_email(@user_info[:email])
|
||||
log "Notifying '#{user.username}' of the end of the restore..."
|
||||
status = @success ? :restore_succeeded : :restore_failed
|
||||
|
||||
|
Reference in New Issue
Block a user