[open-ils-commits] r16083 - in trunk/Open-ILS/src/perlmods/OpenILS/Application: . Actor (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 1 09:09:20 EDT 2010
Author: erickson
Date: 2010-04-01 09:09:18 -0400 (Thu, 01 Apr 2010)
New Revision: 16083
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm
trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
give the trigger autocreate wrapper a clearer name
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm 2010-04-01 05:15:33 UTC (rev 16082)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Stage.pm 2010-04-01 13:09:18 UTC (rev 16083)
@@ -63,7 +63,7 @@
$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;
}
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-04-01 05:15:33 UTC (rev 16082)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2010-04-01 13:09:18 UTC (rev 16083)
@@ -1674,7 +1674,7 @@
}
-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);
More information about the open-ils-commits
mailing list