FIX: Failed to notify user after restoring backup

This commit is contained in:
Gerhard Schlager 2020-01-25 22:07:41 +01:00
parent 5c3f994c80
commit 7c30986b5e

View File

@ -131,7 +131,7 @@ module BackupRestore
SystemMessage.create_from_system_user( SystemMessage.create_from_system_user(
user, status, user, status,
logs: Discourse::Utils.pretty_logs(@logs) logs: Discourse::Utils.pretty_logs(@logger.logs)
) )
else else
log "Could not send notification to '#{@user_info[:username]}' " \ log "Could not send notification to '#{@user_info[:username]}' " \