LP#1986479: (follow-up) do some refactoring user/gmcharlt/lp1986479_fix_a_t_usr_locale_lookup
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 9 Sep 2022 21:12:36 +0000 (17:12 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 9 Sep 2022 21:28:33 +0000 (17:28 -0400)
commit52f64cfb051e87898d16f224caf60ab7f58fe11e
tree73789fb6b8c5f8064dbff2a5c4c784cbdbcf3f4b
parent7982947ca5a57407d7c9231cab52b02703cd206b
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm