https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30889 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- Comment on attachment 135759 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135759 Bug 30889: Set userenv for background jobs Review of attachment 135759: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=30889&attachment=135759) ----------------------------------------------------------------- ::: misc/background_jobs_worker.pl @@ +132,5 @@
+ ); + $job->process( $args ); + C4::Context->_unset_userenv(-1); + } ese { + $job->process( $args );
I don't think that you need to repeat $job->process($args). You can just do the patron check and userenv around it? -- You are receiving this mail because: You are watching all bug changes.