From 09218ae0d6b9a51b30ecf825a14677b0d2827a16 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 10 Jan 2007 00:27:24 +0000 Subject: [PATCH] look at the master DB for brand new hold objects git-svn-id: svn://svn.open-ils.org/ILS/trunk@6750 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 7944f7f23e..0a93498dc3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -687,7 +687,9 @@ sub new_hold_copy_targeter { try { if ($one_hold) { + $self->method_lookup('open-ils.storage.transaction.begin')->run( $client ); $holds = [ action::hold_request->search_where( { id => $one_hold, fulfillment_time => undef, cancel_time => undef } ) ]; + $self->method_lookup('open-ils.storage.transaction.rollback')->run; } elsif ( $check_expire ) { # what's the retarget time threashold? -- 2.11.0