]> git.evergreen-ils.org Git - Evergreen.git/commit
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:50:04 +0000 (15:50 -0400)
commitf3e0719c74a8f43fb5eb609961f0cf74dde40ab6
tree5041262827de771754b37ebebeb441ec57d3c6c2
parentf4f3fa58ed5db2e21b182b66019a30eb0b6f6b01
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