]> git.koha-community.org Git - koha.git/commit
Bug 30181: (follow-up) Remove redundant queries and parameters
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Feb 2022 10:00:23 +0000 (07:00 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 Mar 2022 20:17:33 +0000 (10:17 -1000)
commitd6c5fd3625e02683dab724e7e13b4e04047d59ec
tree31acaf8dcd4d6d7e8aa4e5d554158bb1d435b616
parentb6bdae7e9d0eef1247907534f8c856014b53d6c1
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@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/BackgroundJob.pm
Koha/BackgroundJob/BatchCancelHold.pm
Koha/BackgroundJob/BatchDeleteAuthority.pm
Koha/BackgroundJob/BatchDeleteBiblio.pm
Koha/BackgroundJob/BatchDeleteItem.pm
Koha/BackgroundJob/BatchUpdateAuthority.pm
Koha/BackgroundJob/BatchUpdateBiblio.pm
Koha/BackgroundJob/BatchUpdateItem.pm