LP#1986479: (follow-up) do some refactoring user/miker/lp1986479_fix_a_t_usr_locale_lookup-signoff
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 9 Sep 2022 21:12:36 +0000 (17:12 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 13 Sep 2022 14:12:22 +0000 (10:12 -0400)
commiteebfc4fc0e9c5447e7a88a9aee5d02d6267cd1e9
tree73789fb6b8c5f8064dbff2a5c4c784cbdbcf3f4b
parent6873eca5836518c34da845aec21ec341b969ea3e
LP#1986479: (follow-up) do some refactoring

- don't bother checking the reactor; instead, assume that
  if the event definition includes a context user path that
  evaluates to a discernable user record, there is reason
  to check for the user's preferred locale and for alternative
  templates
- make this section of code more idiomatic

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm