From: erickson Date: Mon, 1 Jun 2009 19:46:32 +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=da5aeeb3e798fd483a6dbb8620cf8a431c46d663;p=evergreen%2Ftadl.git old-school circ scripts require refreshed script runner on renewals git-svn-id: svn://svn.open-ils.org/ILS/trunk@13275 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 3588a188ae..8c8fd415b3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -2426,6 +2426,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 ". @@ -2434,7 +2435,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; }