diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-12 17:06:23 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-12 17:13:08 +0100 |
commit | e74f4646622a6f667228d52be1dde091bb0b2757 (patch) | |
tree | 13da917c8061fa49ce5e156e40b734cb7e5fe3ac /lib/private/BackgroundJob | |
parent | 75fca38e665681f3ef4e87b41a1910e47ba6c90e (diff) | |
download | nextcloud-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.php | 11 |
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. */ |