From e74f4646622a6f667228d52be1dde091bb0b2757 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 12 Jan 2023 17:06:23 +0100 Subject: Remove deprecated method getAll instead of breaking API on deprecated method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/BackgroundJob/JobList.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/private/BackgroundJob') diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 3886ff13bc6..494735ad873 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -157,17 +157,6 @@ class JobList implements IJobList { return (bool) $row; } - /** - * get all jobs in the list - * - * @return iterable - * @deprecated 9.0.0 - This method is dangerous since it can cause load and - * memory problems when creating too many instances. Use getJobs instead. - */ - public function getAll(): iterable { - return $this->getJobs(null, null, 0); - } - /** * @param IJob|class-string|null $job * @return iterable Avoid to store these objects as they may share a Singleton instance. You should instead use these IJobs instances while looping on the iterable. -- cgit v1.2.3