Fix check if class exists

This commit is contained in:
Robin Appelman 2014-06-27 00:52:37 +02:00
parent 437094bbfc
commit f93457c41d
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class JobList implements IJobList {
if ($class === 'OC_Cache_FileGlobalGC') {
$class = '\OC\Cache\FileGlobalGC';
}
if (class_exists($class)) {
if (!class_exists($class)) {
// job from disabled app or old version of an app, no need to do anything
return null;
}