diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-13 21:50:06 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-13 21:50:06 +0200 |
commit | 16d83ab30a60c2a6a4cd71c1127dbc8dece7e136 (patch) | |
tree | 50d337ef318c12fffd1c84d057b497c554481951 /lib/private/BackgroundJob | |
parent | afd52c6b12a01ffcb5f8a61d38fdf8b820cbe935 (diff) | |
download | nextcloud-server-16d83ab30a60c2a6a4cd71c1127dbc8dece7e136.tar.gz nextcloud-server-16d83ab30a60c2a6a4cd71c1127dbc8dece7e136.zip |
Remove getLastJob from IJobList
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 12 |
1 files changed, 0 insertions, 12 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 |