Merge pull request #9905 from owncloud/joblist-non-existing-class

Dont try to execute jobs that no longer exist
remotes/origin/fix-10825
Thomas Müller 12 years ago
commit cfaa05cc0e
  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