[open-ils-commits] r18165 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 5 10:15:42 EDT 2010
Author: erickson
Date: 2010-10-05 10:15:40 -0400 (Tue, 05 Oct 2010)
New Revision: 18165
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm
Log:
avoid running activated hook when in dry run mode
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm 2010-10-05 06:08:49 UTC (rev 18164)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm 2010-10-05 14:15:40 UTC (rev 18165)
@@ -2238,7 +2238,7 @@
}
# tell the world we activated a PO
- $U->create_events_for_hook('acqpo.activated', $po, $po->ordering_agency);
+ $U->create_events_for_hook('acqpo.activated', $po, $po->ordering_agency) unless $dry_run;
return undef;
}
More information about the open-ils-commits
mailing list