LP#1986479: (follow-up) do some refactoring
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 9 Sep 2022 21:12:36 +0000 (17:12 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 11 Oct 2022 19:49:38 +0000 (15:49 -0400)
commit00f81042c43491694c4d775b15988c1acb2f9ea3
tree008a5ebcc2b48c77af6b0b094031b7ba4042f50d
parent5ed6ccd7845d5985f7eac56c5e3b1b6b3e259300
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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm