mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 19:43:44 +08:00
FIX: Failed to notify user after restoring backup
This commit is contained in:
parent
5c3f994c80
commit
7c30986b5e
|
@ -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]}' " \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user