diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 12 | ||||
-rw-r--r-- | lib/public/BackgroundJob/IJobList.php | 11 |
2 files changed, 0 insertions, 23 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 1adecb5b32d..d9d80374cfd 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -311,18 +311,6 @@ class JobList implements IJobList { } /** - * get the id of the last ran job - * - * @return int - * @deprecated 9.1.0 - The functionality behind the value is deprecated, it - * only tells you which job finished last, but since we now allow multiple - * executors to run in parallel, it's not used to calculate the next job. - */ - public function getLastJob() { - return (int) $this->config->getAppValue('backgroundjob', 'lastjob', 0); - } - - /** * set the lastRun of $job to now * * @param IJob $job diff --git a/lib/public/BackgroundJob/IJobList.php b/lib/public/BackgroundJob/IJobList.php index cf04cb21f48..eb8a2c5e3dc 100644 --- a/lib/public/BackgroundJob/IJobList.php +++ b/lib/public/BackgroundJob/IJobList.php @@ -116,17 +116,6 @@ interface IJobList { public function unlockJob(IJob $job); /** - * get the id of the last ran job - * - * @return int - * @since 7.0.0 - * @deprecated 9.1.0 - The functionality behind the value is deprecated, it - * only tells you which job finished last, but since we now allow multiple - * executors to run in parallel, it's not used to calculate the next job. - */ - public function getLastJob(); - - /** * set the lastRun of $job to now * * @param IJob $job |