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