[Koha-bugs] [Bug 30181] Koha::BackgroundJob->_derived_class returns an empty object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 16 15:32:54 CET 2022


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131324|0                           |1
        is obsolete|                            |

--- Comment #13 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 131801
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131801&action=edit
Bug 30181: (follow-up) Remove redundant queries and parameters

Now $self is actually an instance of the job class, there's no need to
have the job_id parameter passed, or the have the ->process method
re-fetch the object from the database.

This patch cleans things up.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list