summaryrefslogtreecommitdiffstats
path: root/lib/private/backgroundjob/joblist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/backgroundjob/joblist.php')
-rw-r--r--lib/private/backgroundjob/joblist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php
index 09bba53edb8..211d7e9abfc 100644
--- a/lib/private/backgroundjob/joblist.php
+++ b/lib/private/backgroundjob/joblist.php
@@ -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;
}