mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -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
|
SiteSetting.default_locale
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Make this variable in this scope
|
||||||
|
notification = nil
|
||||||
|
|
||||||
I18n.with_locale(notification_locale) do
|
I18n.with_locale(notification_locale) do
|
||||||
notification = Notification.create!(
|
notification = Notification.create!(
|
||||||
user_id: row.user_id,
|
user_id: row.user_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user