From: erickson Date: Mon, 1 Jun 2009 19:47:19 +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=54a2f952103cba989fd534f66f2c75f558131b7d;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@13276 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 4c851c8714..1770fcc023 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -2401,6 +2401,7 @@ sub run_renew_permit { my $result = $runner->run or throw OpenSRF::EX::ERROR ("Circ Permit Renew Script Died: $@"); $events = $result->{events}; + $self->mk_script_runner; } $logger->activity("ciculator: circ_permit_renew for user ". @@ -2409,7 +2410,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; }