moving prev_check_time inside the transaction. not critical, but "good"
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Sep 2006 05:24:12 +0000 (05:24 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Sep 2006 05:24:12 +0000 (05:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6173 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index eef1384..5f5e3a4 100644 (file)
@@ -808,7 +808,6 @@ sub new_hold_copy_targeter {
                        # if we have no copies ...
                        if (!ref $all_copies || !@$all_copies) {
                                $log->info("\tNo copies available for targeting at all!\n");
-                               $self->method_lookup('open-ils.storage.transaction.commit')->run;
                                push @successes, { hold => $hold->id, eligible_copies => 0, error => 'NO_COPIES' };
 
                                $hold->update( { prev_check_time => 'today' } );