From: erickson Date: Mon, 1 Jun 2009 19:47:40 +0000 (+0000) Subject: old-school circ scripts require refreshed script runner on renewals X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7e8036ce394d2904eee38c80568d83b8d19449c4;p=Evergreen.git old-school circ scripts require refreshed script runner on renewals git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13277 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index d7fb112f36..f989ae8be2 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -2393,6 +2393,7 @@ sub run_renew_permit { my $result = $runner->run or throw OpenSRF::EX::ERROR ("Circ Permit Renew Script Died: $@"); my $events = $result->{events}; + $self->mk_script_runner; } $logger->activity("ciculator: circ_permit_renew for user ". @@ -2401,7 +2402,6 @@ sub run_renew_permit { $self->push_events(OpenILS::Event->new($_)) for @$events; $logger->debug("circulator: re-creating script runner to be safe"); - #$self->mk_script_runner; }