From 2dc1c7e9796f304474afe2c899bd7ec18cb5c0c4 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 1 Apr 2010 13:09:18 +0000 Subject: [PATCH] give the trigger autocreate wrapper a clearer name git-svn-id: svn://svn.open-ils.org/ILS/trunk@16083 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm | 2 +- Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm index c50097c1f7..0e65c12c25 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm @@ -63,7 +63,7 @@ sub create_user_stage { $e->commit; $conn->respond_complete($uname); - $U->create_trigger_event('stgu.create', $user, $user->home_ou); + $U->create_events_for_hook('stgu.create', $user, $user->home_ou); return undef; } diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index 238554c919..b387f8fc14 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1674,7 +1674,7 @@ sub fire_object_event { } -sub create_trigger_event { +sub create_events_for_hook { my($self, $hook, $obj, $org_id) = @_; my $ses = OpenSRF::AppSession->create('open-ils.trigger'); $ses->request('open-ils.trigger.event.autocreate', $hook, $obj, $org_id); -- 2.11.0