diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-27 00:52:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-27 00:52:37 +0200 |
commit | f93457c41d6a75bb5614708ff385b06eabc6ffed (patch) | |
tree | 4b0003e398862736aea384d37af05a77b5f05ad2 /lib/private/backgroundjob | |
parent | 437094bbfc4230ed4b8b8cc797738ddd4ef7f1aa (diff) | |
download | nextcloud-server-f93457c41d6a75bb5614708ff385b06eabc6ffed.tar.gz nextcloud-server-f93457c41d6a75bb5614708ff385b06eabc6ffed.zip |
Fix check if class exists
Diffstat (limited to 'lib/private/backgroundjob')
-rw-r--r-- | lib/private/backgroundjob/joblist.php | 2 |
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; } |