[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
Thu Mar 17 16:30:59 CET 2022


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

--- Comment #18 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 131847
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131847&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>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list