[open-ils-commits] r12290 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 24 21:46:02 EST 2009
Author: erickson
Date: 2009-02-24 21:46:01 -0500 (Tue, 24 Feb 2009)
New Revision: 12290
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
cstoreeditor create_ returns the ident (~id) (not the object) and sets the ident on the passed in object. no need to capture the output except to test for success
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-02-25 02:41:53 UTC (rev 12289)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-02-25 02:46:01 UTC (rev 12290)
@@ -74,7 +74,7 @@
$event->event_def( $def->id );
$event->run_time( $date->strftime( '%G %T%z' ) );
- $event = $editor->create_action_trigger_event( $event );
+ $editor->create_action_trigger_event( $event );
$client->respond( $event->id );
}
More information about the open-ils-commits
mailing list