mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
We need this variable later
This commit is contained in:
parent
9a502c73c9
commit
c5b94878ac
@ -312,6 +312,9 @@ class BadgeGranter
|
||||
SiteSetting.default_locale
|
||||
end
|
||||
|
||||
# Make this variable in this scope
|
||||
notification = nil
|
||||
|
||||
I18n.with_locale(notification_locale) do
|
||||
notification = Notification.create!(
|
||||
user_id: row.user_id,
|
||||
|
Loading…
Reference in New Issue
Block a user