aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 17:06:23 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 17:13:08 +0100
commite74f4646622a6f667228d52be1dde091bb0b2757 (patch)
tree13da917c8061fa49ce5e156e40b734cb7e5fe3ac /lib/private/BackgroundJob
parent75fca38e665681f3ef4e87b41a1910e47ba6c90e (diff)
downloadnextcloud-server-e74f4646622a6f667228d52be1dde091bb0b2757.tar.gz
nextcloud-server-e74f4646622a6f667228d52be1dde091bb0b2757.zip
Remove deprecated method getAll instead of breaking API on deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r--lib/private/BackgroundJob/JobList.php11
1 files changed, 0 insertions, 11 deletions
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
@@ -158,17 +158,6 @@ class JobList implements IJobList {
}
/**
- * get all jobs in the list
- *
- * @return iterable<IJob>
- * @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<IJob>|null $job
* @return iterable<IJob> Avoid to store these objects as they may share a Singleton instance. You should instead use these IJobs instances while looping on the iterable.
*/