[Pkg-owncloud-commits] [owncloud] 77/273: Fix check if class exists

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit f93457c41d6a75bb5614708ff385b06eabc6ffed
Author: Robin Appelman <icewind at owncloud.com>
Date:   Fri Jun 27 00:52:37 2014 +0200

    Fix check if class exists
---
 lib/private/backgroundjob/joblist.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php
index 09bba53..211d7e9 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;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list