From: Tiffany Little Date: Tue, 22 Oct 2019 18:51:59 +0000 (-0400) Subject: Adds create event to Vandelay.pm. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Ftlittle%2Flp1780458_vandelayemailnotice;p=working%2FEvergreen.git Adds create event to Vandelay.pm. --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm index f34c8aeaee..cf5c70b075 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm @@ -1373,6 +1373,17 @@ sub import_record_list_impl { $conn->respond({total => $$report_args{total}, progress => $$report_args{progress}}); return undef; + + for my $rec (@$rec_list) { + $U->create_events_for_hook( + 'vandelay.session_tracker'.$type.'complete', + $rec, + $e->requestor->home_ou, + undef, + undef, + 1 + ); + } }