[open-ils-commits] r18110 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 30 16:49:51 EDT 2010
Author: erickson
Date: 2010-09-30 16:49:46 -0400 (Thu, 30 Sep 2010)
New Revision: 18110
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
fire the hold_request.cancel.staff when hold is cancelled by staff
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-09-30 20:49:14 UTC (rev 18109)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-09-30 20:49:46 UTC (rev 18110)
@@ -647,6 +647,10 @@
delete_hold_copy_maps($self, $e, $hold->id);
$e->commit;
+
+ $U->create_events_for_hook('hold_request.cancel.staff', $hold, $hold->pickup_lib)
+ if $e->requestor->id != $hold->usr;
+
return 1;
}
More information about the open-ils-commits
mailing list