summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 17:18:59 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-12 17:18:59 +0100
commitd74044f6341e93861d820f21b6d37a2f98e1ef60 (patch)
tree2e25ede4dd29913b5e526cce3b790d627a230205 /core
parente74f4646622a6f667228d52be1dde091bb0b2757 (diff)
downloadnextcloud-server-d74044f6341e93861d820f21b6d37a2f98e1ef60.tar.gz
nextcloud-server-d74044f6341e93861d820f21b6d37a2f98e1ef60.zip
Fix API breakage by using a new method instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core')
-rw-r--r--core/Command/Background/ListCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Background/ListCommand.php b/core/Command/Background/ListCommand.php
index 30440b226de..4116bfa0ff1 100644
--- a/core/Command/Background/ListCommand.php
+++ b/core/Command/Background/ListCommand.php
@@ -67,7 +67,7 @@ class ListCommand extends Base {
}
protected function execute(InputInterface $input, OutputInterface $output): int {
- $jobs = $this->jobList->getJobs($input->getOption('class'), (int)$input->getOption('limit'), (int)$input->getOption('offset'));
+ $jobs = $this->jobList->getJobsIterator($input->getOption('class'), (int)$input->getOption('limit'), (int)$input->getOption('offset'));
$this->writeTableInOutputFormat($input, $output, $this->formatJobs($jobs));
return 0;
}