aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGary Kim <gary@garykim.dev>2020-08-14 10:10:53 +0800
committerGitHub <noreply@github.com>2020-08-14 10:10:53 +0800
commit5559570fafcedf2db709dd9ee1e82acad85e60df (patch)
tree41fc3f4c6c8e1e91fc5fb3a8d1688dbb759d5569 /lib
parent75c659cfbc7041b7f9163181f66aa73bf08308fa (diff)
parent16d83ab30a60c2a6a4cd71c1127dbc8dece7e136 (diff)
downloadnextcloud-server-5559570fafcedf2db709dd9ee1e82acad85e60df.tar.gz
nextcloud-server-5559570fafcedf2db709dd9ee1e82acad85e60df.zip
Merge pull request #22242 from nextcloud/techdebt/noid/remove-deprecated-methods
Remove deprecated and unused method calls
Diffstat (limited to 'lib')
-rw-r--r--lib/private/BackgroundJob/JobList.php12
-rw-r--r--lib/public/BackgroundJob/IJobList.php11
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