Dont try to execute jobs that no longer exist

remotes/origin/fix-10825
Robin Appelman 12 years ago
parent 40f2a34be1
commit 43978befda
  1. 5
      lib/private/backgroundjob/joblist.php

@ -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…
Cancel
Save