Fix check if class exists
This commit is contained in:
parent
437094bbfc
commit
f93457c41d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue