ActionSchedule - Convert from global `setLocale()` to `$context['locale']`
authorTim Otten <totten@civicrm.org>
Tue, 10 Aug 2021 04:13:57 +0000 (21:13 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 10 Aug 2021 23:49:31 +0000 (16:49 -0700)
commitf14b9b1bb012d93609404e63f3c61c1be56ec671
tree0d1e74c9bdb47d4f339901e98b6bbf1bbcd1e5ff
parent4b7b899badc1312040384e15ffdf23bab7425814
ActionSchedule - Convert from global `setLocale()` to `$context['locale']`

Before: Runs `setLocale()` and then executes the entire pipeline for `TokenProcessor`

After: Leaves the global locale alone. Instead, rely on `TokenProcessor` to switch locale
as it visits each recipient.
CRM/Core/BAO/ActionSchedule.php