https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30889

--- Comment #7 from David Cook <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to