diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-03 11:01:01 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-03 11:01:01 +0200 |
commit | ec9bf8a2d6edad1dcf0893844a9843568a0a4f07 (patch) | |
tree | 1543ef9678ab0ab8ae75d1f3fc7985e9ac69264a /lib/private/backgroundjob | |
parent | b62cb007715e649d9656c32bfe4b42599fd96983 (diff) | |
download | nextcloud-server-ec9bf8a2d6edad1dcf0893844a9843568a0a4f07.tar.gz nextcloud-server-ec9bf8a2d6edad1dcf0893844a9843568a0a4f07.zip |
Support having legacy `OC_Cache_FileGlobalGC` background jobs
Diffstat (limited to 'lib/private/backgroundjob')
-rw-r--r-- | lib/private/backgroundjob/joblist.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php index 9fa13c25851..6641097cf90 100644 --- a/lib/private/backgroundjob/joblist.php +++ b/lib/private/backgroundjob/joblist.php @@ -149,6 +149,9 @@ class JobList implements IJobList { /** * @var Job $job */ + if ($class === 'OC_Cache_FileGlobalGC') { + $class = '\OC\Cache\FileGlobalGC'; + } $job = new $class(); $job->setId($row['id']); $job->setLastRun($row['last_run']); |