Skip to content
Snippets Groups Projects
Commit cfaa05cc authored by Thomas Müller's avatar Thomas Müller
Browse files

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

Dont try to execute jobs that no longer exist
parents ab8efe3a 43978bef
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment