mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Dont try to execute jobs that no longer exist
This commit is contained in:
parent
40f2a34be1
commit
43978befda
1 changed files with 4 additions and 1 deletions
|
|
@ -96,7 +96,10 @@ class JobList implements IJobList {
|
|||
$query->execute();
|
||||
$jobs = array();
|
||||
while ($row = $query->fetch()) {
|
||||
$jobs[] = $this->buildJob($row);
|
||||
$job = $this->buildJob($row);
|
||||
if ($job) {
|
||||
$jobs[] = $job;
|
||||
}
|
||||
}
|
||||
return $jobs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue